Skip to content

Commit

Permalink
TST: Check pytables<3.5.1 when skipping (pandas-dev#25773)
Browse files Browse the repository at this point in the history
* TST: Check pytables<3.5.1 when skipping

3.5.1 was made available on conda, causing
'xfail_non_writeable' tests to fail.

* TST: Skip geopandas downstream test

xref pandas-devgh-25778
  • Loading branch information
gfyoung authored and jreback committed Mar 19, 2019
1 parent c8ba766 commit c975fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/io/test_pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
# remove when gh-24839 is fixed; this affects numpy 1.16
# and pytables 3.4.4
xfail_non_writeable = pytest.mark.xfail(
LooseVersion(np.__version__) >= LooseVersion('1.16'),
LooseVersion(np.__version__) >= LooseVersion('1.16') and
LooseVersion(tables.__version__) < LooseVersion('3.5.1'),
reason=('gh-25511, gh-24839. pytables needs a '
'release beyong 3.4.4 to support numpy 1.16x'))

Expand Down
1 change: 1 addition & 0 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def test_pandas_datareader():
@pytest.mark.filterwarnings("ignore:The 'warn':DeprecationWarning")
@pytest.mark.filterwarnings("ignore:pandas.util:DeprecationWarning")
@pytest.mark.filterwarnings("ignore:can't resolve:ImportWarning")
@pytest.mark.skip(reason="gh-25778: geopandas stack issue")
def test_geopandas():

geopandas = import_module('geopandas') # noqa
Expand Down

0 comments on commit c975fc4

Please sign in to comment.