File tree 9 files changed +38
-24
lines changed
9 files changed +38
-24
lines changed Original file line number Diff line number Diff line change 13
13
)
14
14
import pandas ._testing as tm
15
15
16
+ pytestmark = pytest .mark .single_cpu
17
+
16
18
17
19
@td .skip_if_no ("numba" )
18
20
def test_correct_function_signature ():
Original file line number Diff line number Diff line change 8
8
)
9
9
import pandas ._testing as tm
10
10
11
+ pytestmark = pytest .mark .single_cpu
12
+
11
13
12
14
@td .skip_if_no ("numba" )
13
15
@pytest .mark .filterwarnings ("ignore" )
Original file line number Diff line number Diff line change 11
11
)
12
12
import pandas ._testing as tm
13
13
14
+ pytestmark = pytest .mark .single_cpu
15
+
14
16
15
17
@td .skip_if_no ("numba" )
16
18
def test_correct_function_signature ():
Original file line number Diff line number Diff line change 15
15
16
16
# We'll probably always skip these for pyarrow
17
17
# Maybe we'll add our own tests for pyarrow too
18
- pytestmark = pytest .mark .usefixtures ("pyarrow_skip" )
18
+ pytestmark = [
19
+ pytest .mark .single_cpu ,
20
+ pytest .mark .slow ,
21
+ pytest .mark .usefixtures ("pyarrow_skip" ),
22
+ ]
19
23
20
24
21
25
def _construct_dataframe (num_rows ):
@@ -40,7 +44,6 @@ def _construct_dataframe(num_rows):
40
44
return df
41
45
42
46
43
- @pytest .mark .slow
44
47
def test_multi_thread_string_io_read_csv (all_parsers ):
45
48
# see gh-11786
46
49
parser = all_parsers
@@ -135,7 +138,6 @@ def reader(arg):
135
138
return final_dataframe
136
139
137
140
138
- @pytest .mark .slow
139
141
def test_multi_thread_path_multipart_read_csv (all_parsers ):
140
142
# see gh-11786
141
143
num_tasks = 4
Original file line number Diff line number Diff line change 14
14
ensure_clean_store ,
15
15
)
16
16
17
- pytestmark = [
18
- pytest .mark .single_cpu ,
19
- ]
17
+ pytestmark = pytest .mark .single_cpu
20
18
21
19
22
20
def test_categorical (setup_path ):
Original file line number Diff line number Diff line change @@ -1347,6 +1347,7 @@ def __iter__(self) -> Iterator:
1347
1347
assert self .read_html (bad )
1348
1348
1349
1349
@pytest .mark .slow
1350
+ @pytest .mark .single_cpu
1350
1351
def test_importcheck_thread_safety (self , datapath ):
1351
1352
# see gh-16928
1352
1353
Original file line number Diff line number Diff line change 17
17
import pandas as pd
18
18
import pandas ._testing as tm
19
19
20
- pytestmark = pytest .mark .skipif (
21
- is_ci_environment (),
22
- reason = "GH 45651: This test can hang in our CI min_versions build" ,
23
- )
20
+ pytestmark = [
21
+ pytest .mark .single_cpu ,
22
+ pytest .mark .skipif (
23
+ is_ci_environment (),
24
+ reason = "GH 45651: This test can hang in our CI min_versions build" ,
25
+ ),
26
+ ]
24
27
25
28
26
29
class BaseUserAgentResponder (http .server .BaseHTTPRequestHandler ):
Original file line number Diff line number Diff line change 17
17
)
18
18
import pandas ._testing as tm
19
19
20
- # TODO(GH#44584): Mark these as pytest.mark.single_cpu
21
- pytestmark = pytest .mark .skipif (
22
- is_ci_environment () and (is_platform_windows () or is_platform_mac ()),
23
- reason = "On GHA CI, Windows can fail with "
24
- "'Windows fatal exception: stack overflow' "
25
- "and macOS can timeout" ,
26
- )
20
+ pytestmark = [
21
+ pytest .mark .single_cpu ,
22
+ pytest .mark .skipif (
23
+ is_ci_environment () and (is_platform_windows () or is_platform_mac ()),
24
+ reason = "On GHA CI, Windows can fail with "
25
+ "'Windows fatal exception: stack overflow' "
26
+ "and macOS can timeout" ,
27
+ ),
28
+ ]
27
29
28
30
29
31
@pytest .fixture (params = ["single" , "table" ])
Original file line number Diff line number Diff line change 14
14
)
15
15
import pandas ._testing as tm
16
16
17
- # TODO(GH#44584): Mark these as pytest.mark.single_cpu
18
- pytestmark = pytest .mark .skipif (
19
- is_ci_environment () and (is_platform_windows () or is_platform_mac ()),
20
- reason = "On GHA CI, Windows can fail with "
21
- "'Windows fatal exception: stack overflow' "
22
- "and macOS can timeout" ,
23
- )
17
+ pytestmark = [
18
+ pytest .mark .single_cpu ,
19
+ pytest .mark .skipif (
20
+ is_ci_environment () and (is_platform_windows () or is_platform_mac ()),
21
+ reason = "On GHA CI, Windows can fail with "
22
+ "'Windows fatal exception: stack overflow' "
23
+ "and macOS can timeout" ,
24
+ ),
25
+ ]
24
26
25
27
26
28
@td .skip_if_no ("numba" )
You can’t perform that action at this time.
0 commit comments