Skip to content

Commit 9612aec

Browse files
[ArrayManager] TST: enable IO tests (#40298)
1 parent 0a2a200 commit 9612aec

25 files changed

+87
-30
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ jobs:
185185
pytest pandas/tests/dtypes/
186186
pytest pandas/tests/generic/
187187
pytest pandas/tests/indexes/
188+
pytest pandas/tests/io/test_* -m "not slow and not clipboard"
189+
pytest pandas/tests/io/excel/ -m "not slow and not clipboard"
190+
pytest pandas/tests/io/formats/ -m "not slow and not clipboard"
191+
pytest pandas/tests/io/parser/ -m "not slow and not clipboard"
192+
pytest pandas/tests/io/sas/ -m "not slow and not clipboard"
193+
pytest pandas/tests/io/xml/ -m "not slow and not clipboard"
188194
pytest pandas/tests/libs/
189195
pytest pandas/tests/plotting/
190196
pytest pandas/tests/scalar/

pandas/tests/io/pytables/test_append.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import pytest
88

99
from pandas._libs.tslibs import Timestamp
10+
import pandas.util._test_decorators as td
1011

1112
import pandas as pd
1213
from pandas import (
@@ -24,7 +25,7 @@
2425
ensure_clean_store,
2526
)
2627

27-
pytestmark = pytest.mark.single
28+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
2829

2930

3031
@pytest.mark.filterwarnings("ignore:object name:tables.exceptions.NaturalNameWarning")

pandas/tests/io/pytables/test_categorical.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import numpy as np
22
import pytest
33

4+
import pandas.util._test_decorators as td
5+
46
from pandas import (
57
Categorical,
68
DataFrame,
@@ -15,7 +17,7 @@
1517
ensure_clean_store,
1618
)
1719

18-
pytestmark = pytest.mark.single
20+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
1921

2022

2123
def test_categorical(setup_path):

pandas/tests/io/pytables/test_compat.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import pytest
22

3+
import pandas.util._test_decorators as td
4+
35
import pandas as pd
46
import pandas._testing as tm
57
from pandas.tests.io.pytables.common import ensure_clean_path
68

79
tables = pytest.importorskip("tables")
810

11+
pytestmark = td.skip_array_manager_not_yet_implemented
12+
913

1014
@pytest.fixture
1115
def pytables_hdf5_file():

pandas/tests/io/pytables/test_errors.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import numpy as np
77
import pytest
88

9+
import pandas.util._test_decorators as td
10+
911
from pandas import (
1012
CategoricalIndex,
1113
DataFrame,
@@ -25,7 +27,7 @@
2527
_maybe_adjust_name,
2628
)
2729

28-
pytestmark = pytest.mark.single
30+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
2931

3032

3133
def test_pass_spec_to_storer(setup_path):

pandas/tests/io/pytables/test_file_handling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import pytest
55

66
from pandas.compat import is_platform_little_endian
7+
import pandas.util._test_decorators as td
78

89
from pandas import (
910
DataFrame,
@@ -26,7 +27,7 @@
2627
Term,
2728
)
2829

29-
pytestmark = pytest.mark.single
30+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
3031

3132

3233
def test_mode(setup_path):

pandas/tests/io/pytables/test_keys.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import pytest
22

3+
import pandas.util._test_decorators as td
4+
35
from pandas import (
46
DataFrame,
57
HDFStore,
@@ -11,7 +13,7 @@
1113
tables,
1214
)
1315

14-
pytestmark = pytest.mark.single
16+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
1517

1618

1719
def test_keys(setup_path):

pandas/tests/io/pytables/test_put.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
)
3030
from pandas.util import _test_decorators as td
3131

32-
pytestmark = pytest.mark.single
32+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
3333

3434

3535
def test_format_type(setup_path):

pandas/tests/io/pytables/test_pytables_missing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import pandas as pd
66
import pandas._testing as tm
77

8+
pytestmark = td.skip_array_manager_not_yet_implemented
9+
810

911
@td.skip_if_installed("tables")
1012
def test_pytables_raises():

pandas/tests/io/pytables/test_read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
from pandas.io.pytables import TableIterator
2727

28-
pytestmark = pytest.mark.single
28+
pytestmark = [pytest.mark.single, td.skip_array_manager_not_yet_implemented]
2929

3030

3131
def test_read_missing_key_close_store(setup_path):

0 commit comments

Comments
 (0)