We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4851e5 commit ddc1457Copy full SHA for ddc1457
pandas/tests/io/pytables/test_categorical.py
@@ -4,21 +4,22 @@
4
from pandas import (
5
Categorical,
6
DataFrame,
7
+ HDFStore,
8
Series,
9
_testing as tm,
10
concat,
11
read_hdf,
12
)
13
from pandas.tests.io.pytables.common import (
14
_maybe_remove,
- ensure_clean_store,
15
16
17
pytestmark = [pytest.mark.single_cpu]
18
19
20
-def test_categorical(setup_path):
21
- with ensure_clean_store(setup_path) as store:
+def test_categorical(tmp_path):
+ path = tmp_path / "test_categorical.h5"
22
+ with HDFStore(path) as store:
23
# Basic
24
_maybe_remove(store, "s")
25
s = Series(
0 commit comments