Skip to content

Commit

Permalink
fix doctest syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Nov 1, 2022
1 parent 18fc711 commit d63394b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xdoctest/utils/util_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,9 @@ def _syspath_modname_to_modpath(modname, sys_path=None, exclude=None):
>>> found = _syspath_modname_to_modpath(modname, exclude=exclude)
>>> if found is not None:
>>> raise AssertionError(
>>> 'should not have found {}.'.format(found)
>>> ' because we excluded: {}.'.format(exclude)
>>> ' cwd={} '.format(os.getcwd())
>>> 'should not have found {}.'.format(found) +
>>> ' because we excluded: {}.'.format(exclude) +
>>> ' cwd={} '.format(os.getcwd()) +
>>> ' sys.path={} '.format(sys.path)
>>> )
"""
Expand Down

0 comments on commit d63394b

Please sign in to comment.