Skip to content

Commit 1aac645

Browse files
committed
black formatting.
1 parent 505c334 commit 1aac645

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

testing/test_conftest.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import os.path
12
import textwrap
23

34
import py
45

56
import pytest
6-
from _pytest.config import PytestPluginManager, _uniquepath
7+
from _pytest.config import _uniquepath
8+
from _pytest.config import PytestPluginManager
79
from _pytest.main import ExitCode
8-
import os.path
910

1011

1112
def ConftestWithSetinitial(path):
@@ -275,18 +276,15 @@ def fixture():
275276
result.stdout.fnmatch_lines(["*conftest_loaded*", "PASSED"])
276277
assert result.ret == ExitCode.OK
277278

279+
278280
@pytest.mark.skipif(
279-
os.path.normcase('x') != os.path.normcase('X'),
281+
os.path.normcase("x") != os.path.normcase("X"),
280282
reason="only relevant for case insensitive file systems",
281283
)
282284
def test_conftest_badcase(testdir):
283285
"""Check conftest.py loading when directory casing is wrong."""
284286
testdir.tmpdir.mkdir("JenkinsRoot").mkdir("test")
285-
source = {
286-
"setup.py": "",
287-
"test/__init__.py": "",
288-
"test/conftest.py": ""
289-
}
287+
source = {"setup.py": "", "test/__init__.py": "", "test/conftest.py": ""}
290288
testdir.makepyfile(**{"JenkinsRoot/%s" % k: v for k, v in source.items()})
291289

292290
testdir.tmpdir.join("jenkinsroot/test").chdir()

0 commit comments

Comments
 (0)