We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe8f5e commit 678750cCopy full SHA for 678750c
_pytest/main.py
@@ -687,7 +687,7 @@ def _tryconvertpyarg(self, x):
687
# This method is sometimes invoked when AssertionRewritingHook, which
688
# does not define a get_filename method, is already in place:
689
try:
690
- path = loader.get_filename()
+ path = loader.get_filename(x)
691
except AttributeError:
692
# Retrieve path from AssertionRewritingHook:
693
path = loader.modules[x][0].co_filename
0 commit comments