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:
|
||||
return
|
||||
# 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()
|
||||
try:
|
||||
tree = ast.parse(source)
|
||||
|
|
Loading…
Reference in New Issue