Skip to content

Commit db7f2c5

Browse files
WillAydPingviinituutti
authored andcommitted
Skipped broken Py2 / Windows test (pandas-dev#25323)
1 parent dc42231 commit db7f2c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/test_downstream.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import numpy as np # noqa
1010
import pytest
1111

12-
from pandas.compat import PY36
12+
from pandas.compat import PY2, PY36, is_platform_windows
1313

1414
from pandas import DataFrame
1515
from pandas.util import testing as tm
@@ -58,6 +58,8 @@ def test_xarray(df):
5858
assert df.to_xarray() is not None
5959

6060

61+
@pytest.mark.skipif(is_platform_windows() and PY2,
62+
reason="Broken on Windows / Py2")
6163
def test_oo_optimizable():
6264
# GH 21071
6365
subprocess.check_call([sys.executable, "-OO", "-c", "import pandas"])

0 commit comments

Comments
 (0)