Skip to content

Commit 515825a

Browse files
committed
copied pytest.importorskip to timezone
1 parent 595670e commit 515825a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tests/io/pytables/test_timezones.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
import pandas.util.testing as tm
1616
from pandas.util.testing import assert_frame_equal, set_timezone
1717

18+
tables = pytest.importorskip("tables")
19+
# set these parameters so we don't have file sharing
20+
tables.parameters.MAX_NUMEXPR_THREADS = 1
21+
tables.parameters.MAX_BLOSC_THREADS = 1
22+
tables.parameters.MAX_THREADS = 1
23+
1824

1925
class TestTimezones:
2026
def _compare_with_tz(self, a, b):

0 commit comments

Comments
 (0)