#1642 Remove adding rootdir to sys path

This commit is contained in:
feuillemorte 2018-01-25 15:57:29 +03:00
parent 0cfa975930
commit 503e00f7ff
1 changed files with 0 additions and 1 deletions

View File

@ -998,7 +998,6 @@ class Config(object):
self.invocation_dir = py.path.local()
if ns.rootdir:
self.invocation_dir = self.rootdir
sys.path.append(str(self.rootdir))
self._parser.addini('addopts', 'extra command line options', 'args')
self._parser.addini('minversion', 'minimally required pytest version')
self._override_ini = ns.override_ini or ()