File tree 5 files changed +1
-18
lines changed
5 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 45
45
("py:obj" , "bytes-like" ),
46
46
]
47
47
48
+
48
49
# XX hack the RTD theme until
49
50
# https://github.com/rtfd/sphinx_rtd_theme/pull/382
50
51
# is shipped (should be in the release after 0.2.4)
Original file line number Diff line number Diff line change 2
2
3
3
4
4
def test_single_async_fixture (testdir ):
5
-
6
5
testdir .makepyfile (
7
6
"""
8
7
import pytest
@@ -25,7 +24,6 @@ async def test_simple(fix1):
25
24
26
25
27
26
def test_async_fixture_recomputed_for_each_test (testdir ):
28
-
29
27
testdir .makepyfile (
30
28
"""
31
29
import pytest
@@ -56,7 +54,6 @@ async def test_second(fix1):
56
54
57
55
58
56
def test_nested_async_fixture (testdir ):
59
-
60
57
testdir .makepyfile (
61
58
"""
62
59
import pytest
@@ -89,7 +86,6 @@ async def test_both(fix1, fix2):
89
86
90
87
91
88
def test_async_within_sync_fixture (testdir ):
92
-
93
89
testdir .makepyfile (
94
90
"""
95
91
import pytest
@@ -122,7 +118,6 @@ async def test_simple(sync_fix):
122
118
# async fixture...
123
119
@pytest .mark .xfail (reason = "Not implemented yet" )
124
120
def test_raise_in_async_fixture_cause_pytest_error (testdir ):
125
-
126
121
testdir .makepyfile (
127
122
"""
128
123
import pytest
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ def test_after():
38
38
39
39
40
40
def test_nested_async_yield_fixture (testdir ):
41
-
42
41
testdir .makepyfile (
43
42
"""
44
43
import pytest
@@ -93,7 +92,6 @@ def test_after():
93
92
94
93
95
94
def test_async_yield_fixture_within_sync_fixture (testdir ):
96
-
97
95
testdir .makepyfile (
98
96
"""
99
97
import pytest
@@ -139,7 +137,6 @@ def test_after():
139
137
140
138
141
139
def test_async_yield_fixture_within_sync_yield_fixture (testdir ):
142
-
143
140
testdir .makepyfile (
144
141
"""
145
142
import pytest
@@ -190,7 +187,6 @@ def test_after():
190
187
191
188
192
189
def test_async_yield_fixture_with_multiple_yields (testdir ):
193
-
194
190
testdir .makepyfile (
195
191
"""
196
192
import pytest
@@ -217,7 +213,6 @@ async def test_actual_test(fix1):
217
213
218
214
219
215
def test_async_yield_fixture_with_nursery (testdir ):
220
-
221
216
testdir .makepyfile (
222
217
"""
223
218
import pytest
@@ -253,7 +248,6 @@ async def test_actual_test(server):
253
248
254
249
255
250
def test_async_yield_fixture_crashed_teardown_allow_other_teardowns (testdir ):
256
-
257
251
testdir .makepyfile (
258
252
"""
259
253
import pytest
Original file line number Diff line number Diff line change 2
2
3
3
4
4
def test_async_test_is_executed (testdir ):
5
-
6
5
testdir .makepyfile (
7
6
"""
8
7
import pytest
@@ -27,7 +26,6 @@ def test_check_async_test_called():
27
26
28
27
29
28
def test_async_test_as_class_method (testdir ):
30
-
31
29
testdir .makepyfile (
32
30
"""
33
31
import pytest
@@ -60,7 +58,6 @@ def test_check_async_test_called():
60
58
61
59
@pytest .mark .xfail (reason = "Raises pytest internal error so far..." )
62
60
def test_sync_function_with_trio_mark (testdir ):
63
-
64
61
testdir .makepyfile (
65
62
"""
66
63
import pytest
@@ -77,7 +74,6 @@ def test_invalid():
77
74
78
75
79
76
def test_skip_and_xfail (testdir ):
80
-
81
77
testdir .makepyfile (
82
78
"""
83
79
import functools
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ async def test_single_sync_fixture(sync_fix):
12
12
13
13
14
14
def test_single_yield_fixture (testdir ):
15
-
16
15
testdir .makepyfile (
17
16
"""
18
17
import pytest
@@ -47,7 +46,6 @@ def test_after():
47
46
48
47
49
48
def test_single_yield_fixture_with_async_deps (testdir ):
50
-
51
49
testdir .makepyfile (
52
50
"""
53
51
import pytest
@@ -90,7 +88,6 @@ def test_after():
90
88
91
89
92
90
def test_sync_yield_fixture_crashed_teardown_allow_other_teardowns (testdir ):
93
-
94
91
testdir .makepyfile (
95
92
"""
96
93
import pytest
You can’t perform that action at this time.
0 commit comments