fix comment
This commit is contained in:
parent
250160b4b0
commit
4fe13e59a7
|
@ -65,7 +65,7 @@ def pytest_pycollect_before_module_import(mod):
|
||||||
if rewrite_asserts is None:
|
if rewrite_asserts is None:
|
||||||
return
|
return
|
||||||
# Some deep magic: load the source, rewrite the asserts, and write a
|
# Some deep magic: load the source, rewrite the asserts, and write a
|
||||||
# fake pyc, so that it'll be loaded further down this function.
|
# fake pyc, so that it'll be loaded when the module is imported.
|
||||||
source = mod.fspath.read()
|
source = mod.fspath.read()
|
||||||
try:
|
try:
|
||||||
tree = ast.parse(source)
|
tree = ast.parse(source)
|
||||||
|
|
Loading…
Reference in New Issue