Fix linting
This commit is contained in:
		
							parent
							
								
									8c47db724c
								
							
						
					
					
						commit
						a82dd2f064
					
				|  | @ -123,12 +123,10 @@ class TestParseIni: | ||||||
|         assert config.getini("minversion") == "2.0" |         assert config.getini("minversion") == "2.0" | ||||||
| 
 | 
 | ||||||
|     def test_ini_parse_error(self, testdir): |     def test_ini_parse_error(self, testdir): | ||||||
|         testdir.tmpdir.join("pytest.ini").write('addopts = -x') |         testdir.tmpdir.join("pytest.ini").write("addopts = -x") | ||||||
|         result = testdir.runpytest() |         result = testdir.runpytest() | ||||||
|         assert result.ret != 0 |         assert result.ret != 0 | ||||||
|         result.stderr.fnmatch_lines([ |         result.stderr.fnmatch_lines(["ERROR: *pytest.ini:1: no section header defined"]) | ||||||
|             "ERROR: *pytest.ini:1: no section header defined" |  | ||||||
|         ]) |  | ||||||
| 
 | 
 | ||||||
|     @pytest.mark.xfail(reason="probably not needed") |     @pytest.mark.xfail(reason="probably not needed") | ||||||
|     def test_confcutdir(self, testdir): |     def test_confcutdir(self, testdir): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue