Skip to content

Commit

Permalink
trim trailing ws
Browse files Browse the repository at this point in the history
  • Loading branch information
John Still committed Jul 11, 2017
1 parent c2d49e3 commit 676c4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pytest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 676c4f9

Please sign in to comment.