Skip to content

Commit 63c587d

Browse files
committed
TST: skip shape comparison test in test_testing
1 parent 8e15810 commit 63c587d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/test_testing.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
assert_index_equal, assert_series_equal, assert_frame_equal,
1414
assert_numpy_array_equal, assert_isinstance, RNGContext
1515
)
16+
from pandas.compat import is_platform_windows
1617

1718
# let's get meta.
1819

@@ -137,6 +138,9 @@ class TestAssertNumpyArrayEqual(tm.TestCase):
137138

138139
def test_numpy_array_equal_message(self):
139140

141+
if is_platform_windows():
142+
raise nose.SkipTest("windows has incomparable line-endings and uses L on the shape")
143+
140144
expected = """numpy array are different
141145
142146
numpy array shapes are different
@@ -625,4 +629,4 @@ def test_locale(self):
625629

626630
if __name__ == '__main__':
627631
nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],
628-
exit=False)
632+
exit=False)

0 commit comments

Comments
 (0)