Fix linting

This commit is contained in:
Bruno Oliveira 2019-07-23 10:55:22 -03:00
parent 8c47db724c
commit a82dd2f064
1 changed files with 2 additions and 4 deletions

View File

@ -123,12 +123,10 @@ class TestParseIni:
assert config.getini("minversion") == "2.0"
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()
assert result.ret != 0
result.stderr.fnmatch_lines([
"ERROR: *pytest.ini:1: no section header defined"
])
result.stderr.fnmatch_lines(["ERROR: *pytest.ini:1: no section header defined"])
@pytest.mark.xfail(reason="probably not needed")
def test_confcutdir(self, testdir):