Skip to content

Commit 1e3be8a

Browse files
committed
fix whitespace issues in tests for #2049
1 parent 6dfd683 commit 1e3be8a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

testing/python/setup_plan.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,12 @@ def test_show_multi_test_fixture_setup_and_teardown_correctly_simple(testdir):
3535
testdir.makepyfile(
3636
"""
3737
import pytest
38-
3938
@pytest.fixture(scope = 'class')
4039
def fix():
4140
return object()
42-
4341
class TestClass:
4442
def test_one(self, fix):
4543
assert False
46-
4744
def test_two(self, fix):
4845
assert False
4946
"""
@@ -77,32 +74,23 @@ def test_show_multi_test_fixture_setup_and_teardown_same_as_setup_show(testdir):
7774
testdir.makepyfile(
7875
"""
7976
import pytest
80-
8177
@pytest.fixture(scope = 'session')
8278
def sess():
8379
return True
84-
8580
@pytest.fixture(scope = 'module')
8681
def mod():
8782
return True
88-
8983
@pytest.fixture(scope = 'class')
9084
def cls():
9185
return True
92-
9386
@pytest.fixture(scope = 'function')
9487
def func():
9588
return True
96-
97-
9889
def test_outside(sess, mod, cls, func):
9990
assert True
100-
101-
10291
class TestCls:
10392
def test_one(self, sess, mod, cls, func):
10493
assert True
105-
10694
def test_two(self, sess, mod, cls, func):
10795
assert True
10896
"""

0 commit comments

Comments
 (0)