trim trailing ws
This commit is contained in:
parent
c2d49e39a2
commit
676c4f970d
|
@ -179,7 +179,7 @@ def pytest_ignore_collect(path, config):
|
|||
if py.path.local(path) in ignore_paths:
|
||||
return True
|
||||
|
||||
invenv = py.path.local(sys.prefix) == path
|
||||
invenv = py.path.local(sys.prefix) == path
|
||||
allow_invenv = config.getoption("collect_in_virtualenv")
|
||||
if invenv and not allow_invenv:
|
||||
config.warn(RuntimeWarning,
|
||||
|
|
Loading…
Reference in New Issue