Skip to content

Commit 788fee3

Browse files
Fix black changes
1 parent 9cda20b commit 788fee3

File tree

5 files changed

+1
-18
lines changed

5 files changed

+1
-18
lines changed

docs/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
("py:obj", "bytes-like"),
4646
]
4747

48+
4849
# XX hack the RTD theme until
4950
# https://github.com/rtfd/sphinx_rtd_theme/pull/382
5051
# is shipped (should be in the release after 0.2.4)

pytest_trio/_tests/test_async_fixture.py

-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
def test_single_async_fixture(testdir):
5-
65
testdir.makepyfile(
76
"""
87
import pytest
@@ -25,7 +24,6 @@ async def test_simple(fix1):
2524

2625

2726
def test_async_fixture_recomputed_for_each_test(testdir):
28-
2927
testdir.makepyfile(
3028
"""
3129
import pytest
@@ -56,7 +54,6 @@ async def test_second(fix1):
5654

5755

5856
def test_nested_async_fixture(testdir):
59-
6057
testdir.makepyfile(
6158
"""
6259
import pytest
@@ -89,7 +86,6 @@ async def test_both(fix1, fix2):
8986

9087

9188
def test_async_within_sync_fixture(testdir):
92-
9389
testdir.makepyfile(
9490
"""
9591
import pytest
@@ -122,7 +118,6 @@ async def test_simple(sync_fix):
122118
# async fixture...
123119
@pytest.mark.xfail(reason="Not implemented yet")
124120
def test_raise_in_async_fixture_cause_pytest_error(testdir):
125-
126121
testdir.makepyfile(
127122
"""
128123
import pytest

pytest_trio/_tests/test_async_yield_fixture.py

-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def test_after():
3838

3939

4040
def test_nested_async_yield_fixture(testdir):
41-
4241
testdir.makepyfile(
4342
"""
4443
import pytest
@@ -93,7 +92,6 @@ def test_after():
9392

9493

9594
def test_async_yield_fixture_within_sync_fixture(testdir):
96-
9795
testdir.makepyfile(
9896
"""
9997
import pytest
@@ -139,7 +137,6 @@ def test_after():
139137

140138

141139
def test_async_yield_fixture_within_sync_yield_fixture(testdir):
142-
143140
testdir.makepyfile(
144141
"""
145142
import pytest
@@ -190,7 +187,6 @@ def test_after():
190187

191188

192189
def test_async_yield_fixture_with_multiple_yields(testdir):
193-
194190
testdir.makepyfile(
195191
"""
196192
import pytest
@@ -217,7 +213,6 @@ async def test_actual_test(fix1):
217213

218214

219215
def test_async_yield_fixture_with_nursery(testdir):
220-
221216
testdir.makepyfile(
222217
"""
223218
import pytest
@@ -253,7 +248,6 @@ async def test_actual_test(server):
253248

254249

255250
def test_async_yield_fixture_crashed_teardown_allow_other_teardowns(testdir):
256-
257251
testdir.makepyfile(
258252
"""
259253
import pytest

pytest_trio/_tests/test_basic.py

-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
def test_async_test_is_executed(testdir):
5-
65
testdir.makepyfile(
76
"""
87
import pytest
@@ -27,7 +26,6 @@ def test_check_async_test_called():
2726

2827

2928
def test_async_test_as_class_method(testdir):
30-
3129
testdir.makepyfile(
3230
"""
3331
import pytest
@@ -60,7 +58,6 @@ def test_check_async_test_called():
6058

6159
@pytest.mark.xfail(reason="Raises pytest internal error so far...")
6260
def test_sync_function_with_trio_mark(testdir):
63-
6461
testdir.makepyfile(
6562
"""
6663
import pytest
@@ -77,7 +74,6 @@ def test_invalid():
7774

7875

7976
def test_skip_and_xfail(testdir):
80-
8177
testdir.makepyfile(
8278
"""
8379
import functools

pytest_trio/_tests/test_sync_fixture.py

-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ async def test_single_sync_fixture(sync_fix):
1212

1313

1414
def test_single_yield_fixture(testdir):
15-
1615
testdir.makepyfile(
1716
"""
1817
import pytest
@@ -47,7 +46,6 @@ def test_after():
4746

4847

4948
def test_single_yield_fixture_with_async_deps(testdir):
50-
5149
testdir.makepyfile(
5250
"""
5351
import pytest
@@ -90,7 +88,6 @@ def test_after():
9088

9189

9290
def test_sync_yield_fixture_crashed_teardown_allow_other_teardowns(testdir):
93-
9491
testdir.makepyfile(
9592
"""
9693
import pytest

0 commit comments

Comments
 (0)