Skip to content

Commit e5b70ee

Browse files
committed
TST: Check pytables<3.5.1 when skipping
3.5.1 was made available on conda, causing 'xfail_non_writeable' tests to fail.
1 parent db6993c commit e5b70ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/test_pytables.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
# remove when gh-24839 is fixed; this affects numpy 1.16
3939
# and pytables 3.4.4
4040
xfail_non_writeable = pytest.mark.xfail(
41-
LooseVersion(np.__version__) >= LooseVersion('1.16'),
41+
LooseVersion(np.__version__) >= LooseVersion('1.16') and
42+
LooseVersion(tables.__version__) < LooseVersion('3.5.1'),
4243
reason=('gh-25511, gh-24839. pytables needs a '
4344
'release beyong 3.4.4 to support numpy 1.16x'))
4445

0 commit comments

Comments
 (0)