We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bd5838 commit 3135ab2Copy full SHA for 3135ab2
tests/conftest.py
@@ -58,7 +58,7 @@ def pytest_collect_file(parent, file_path):
58
class YamlFile(pytest.File):
59
def collect(self):
60
spec = yaml.safe_load(self.path.open())
61
- test_dir = Path(self.fspath).parent
+ test_dir = self.path.parent
62
for platform, archs in spec["Output Files"].items():
63
for arch, filename in archs.items():
64
# TODO specify max runtime via command line option
@@ -152,7 +152,7 @@ def runtest(self):
152
self._test_strings(str(test_path))
153
154
def reportinfo(self):
155
- return self.fspath, 0, "usecase: %s" % self.name
+ return self.path, 0, "usecase: %s" % self.name
156
157
def repr_failure(self, excinfo):
158
if isinstance(excinfo.value, FLOSSStringsNotExtracted):
0 commit comments