Remove obsolete comment from rewrite.py
This was made obsolete by 021e843427
This commit is contained in:
parent
336cf3e1f5
commit
97367cf773
|
@ -162,10 +162,6 @@ class AssertionRewritingHook(object):
|
||||||
# modules not passed explicitly on the command line are only
|
# modules not passed explicitly on the command line are only
|
||||||
# rewritten if they match the naming convention for test files
|
# rewritten if they match the naming convention for test files
|
||||||
for pat in self.fnpats:
|
for pat in self.fnpats:
|
||||||
# use fnmatch instead of fn_pypath.fnmatch because the
|
|
||||||
# latter might trigger an import to fnmatch.fnmatch
|
|
||||||
# internally, which would cause this method to be
|
|
||||||
# called recursively
|
|
||||||
if fn_pypath.fnmatch(pat):
|
if fn_pypath.fnmatch(pat):
|
||||||
state.trace("matched test file %r" % (fn,))
|
state.trace("matched test file %r" % (fn,))
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue