diff options
author | Sylvain <syt@logilab.fr> | 2008-01-23 11:22:17 +0100 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2008-01-23 11:22:17 +0100 |
commit | e7ad670b1475794380655f1e7e8a1d447ab58a75 (patch) | |
tree | d69f6242dc4117cef6520f517faa6e45d85ca9c7 /pytest.py | |
parent | 7310c56f9c834088c8af6cfbef4588da26de6599 (diff) | |
download | logilab-common-e7ad670b1475794380655f1e7e8a1d447ab58a75.tar.gz |
we need '' in path anyway
Diffstat (limited to 'pytest.py')
-rw-r--r-- | pytest.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -511,6 +511,8 @@ def run(): sys.argv[1:] = newargs covermode = getattr(options, 'coverage', None) cvg = None + if not '' in sys.path: + sys.path.insert(0, '') if covermode: rootdir = project_root() # control_import_coverage(rootdir) |