Fix broken error message in pytester
This commit is contained in:
parent
03ef546706
commit
dc7ae41f33
|
@ -693,7 +693,7 @@ class Testdir(object):
|
||||||
else:
|
else:
|
||||||
raise LookupError(
|
raise LookupError(
|
||||||
"{} cant be found as module or package in {}".format(
|
"{} cant be found as module or package in {}".format(
|
||||||
func_name, example_dir.bestrelpath(self.request.confg.rootdir)
|
func_name, example_dir.bestrelpath(self.request.config.rootdir)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue