Skip to content

Commit a82dd2f

Browse files
committed
Fix linting
1 parent 8c47db7 commit a82dd2f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

testing/test_config.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,10 @@ def test_toxini_before_lower_pytestini(self, testdir):
123123
assert config.getini("minversion") == "2.0"
124124

125125
def test_ini_parse_error(self, testdir):
126-
testdir.tmpdir.join("pytest.ini").write('addopts = -x')
126+
testdir.tmpdir.join("pytest.ini").write("addopts = -x")
127127
result = testdir.runpytest()
128128
assert result.ret != 0
129-
result.stderr.fnmatch_lines([
130-
"ERROR: *pytest.ini:1: no section header defined"
131-
])
129+
result.stderr.fnmatch_lines(["ERROR: *pytest.ini:1: no section header defined"])
132130

133131
@pytest.mark.xfail(reason="probably not needed")
134132
def test_confcutdir(self, testdir):

0 commit comments

Comments
 (0)