remove corpse code comments
This commit is contained in:
		
							parent
							
								
									65f5383106
								
							
						
					
					
						commit
						57fcd3f57e
					
				| 
						 | 
					@ -27,7 +27,6 @@ PYTEST_FULLPATH = os.path.abspath(pytest.__file__.rstrip("oc")).replace("$py.cla
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def pytest_addoption(parser):
 | 
					def pytest_addoption(parser):
 | 
				
			||||||
    # group = parser.getgroup("pytester", "pytester (self-tests) options")
 | 
					 | 
				
			||||||
    parser.addoption('--lsof',
 | 
					    parser.addoption('--lsof',
 | 
				
			||||||
                     action="store_true", dest="lsof", default=False,
 | 
					                     action="store_true", dest="lsof", default=False,
 | 
				
			||||||
                     help=("run FD checks if lsof is available"))
 | 
					                     help=("run FD checks if lsof is available"))
 | 
				
			||||||
| 
						 | 
					@ -977,12 +976,6 @@ class Testdir:
 | 
				
			||||||
        p = py.path.local.make_numbered_dir(prefix="runpytest-",
 | 
					        p = py.path.local.make_numbered_dir(prefix="runpytest-",
 | 
				
			||||||
                                            keep=None, rootdir=self.tmpdir)
 | 
					                                            keep=None, rootdir=self.tmpdir)
 | 
				
			||||||
        args = ('--basetemp=%s' % p, ) + args
 | 
					        args = ('--basetemp=%s' % p, ) + args
 | 
				
			||||||
        # for x in args:
 | 
					 | 
				
			||||||
        #    if '--confcutdir' in str(x):
 | 
					 | 
				
			||||||
        #        break
 | 
					 | 
				
			||||||
        # else:
 | 
					 | 
				
			||||||
        #    pass
 | 
					 | 
				
			||||||
        #    args = ('--confcutdir=.',) + args
 | 
					 | 
				
			||||||
        plugins = [x for x in self.plugins if isinstance(x, str)]
 | 
					        plugins = [x for x in self.plugins if isinstance(x, str)]
 | 
				
			||||||
        if plugins:
 | 
					        if plugins:
 | 
				
			||||||
            args = ('-p', plugins[0]) + args
 | 
					            args = ('-p', plugins[0]) + args
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue