Remove example of obsolete pytest.main usage with string
This commit is contained in:
		
							parent
							
								
									c0719a5b4c
								
							
						
					
					
						commit
						918af99a2a
					
				|  | @ -236,9 +236,10 @@ your own setuptools Test command for invoking pytest. | ||||||
|             self.pytest_args = [] |             self.pytest_args = [] | ||||||
| 
 | 
 | ||||||
|         def run_tests(self): |         def run_tests(self): | ||||||
|  |             import shlex | ||||||
|             #import here, cause outside the eggs aren't loaded |             #import here, cause outside the eggs aren't loaded | ||||||
|             import pytest |             import pytest | ||||||
|             errno = pytest.main(self.pytest_args) |             errno = pytest.main(shlex.split(self.pytest_args)) | ||||||
|             sys.exit(errno) |             sys.exit(errno) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue