strip old comment and hack
This commit is contained in:
parent
e007f2dc54
commit
06ab38a2fc
|
@ -195,10 +195,7 @@ class TmpTestdir:
|
||||||
except py.error.EEXIST:
|
except py.error.EEXIST:
|
||||||
continue
|
continue
|
||||||
break
|
break
|
||||||
# we need to create another subdir
|
self.tmpdir = tmpdir
|
||||||
# because Directory.collect() currently loads
|
|
||||||
# conftest.py from sibling directories
|
|
||||||
self.tmpdir = tmpdir.mkdir(name)
|
|
||||||
self.plugins = []
|
self.plugins = []
|
||||||
self._syspathremove = []
|
self._syspathremove = []
|
||||||
self.chdir() # always chdir
|
self.chdir() # always chdir
|
||||||
|
@ -422,7 +419,8 @@ class TmpTestdir:
|
||||||
str(os.getcwd()), env.get('PYTHONPATH', '')]))
|
str(os.getcwd()), env.get('PYTHONPATH', '')]))
|
||||||
kw['env'] = env
|
kw['env'] = env
|
||||||
#print "env", env
|
#print "env", env
|
||||||
return py.std.subprocess.Popen(cmdargs, stdout=stdout, stderr=stderr, **kw)
|
return py.std.subprocess.Popen(cmdargs,
|
||||||
|
stdout=stdout, stderr=stderr, **kw)
|
||||||
|
|
||||||
def pytestmain(self, *args, **kwargs):
|
def pytestmain(self, *args, **kwargs):
|
||||||
class ResetCapturing:
|
class ResetCapturing:
|
||||||
|
|
Loading…
Reference in New Issue