Fix broken error message in pytester

This commit is contained in:
Stephan Hoyer 2019-03-08 09:22:00 -08:00 committed by GitHub
parent 03ef546706
commit dc7ae41f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ class Testdir(object):
else:
raise LookupError(
"{} 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: