File: deb_skip_stata_on_bigendians

package info (click to toggle)
pandas 0.23.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 167,704 kB
  • sloc: python: 230,826; ansic: 11,317; sh: 682; makefile: 133
file content (14 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/pandas/tests/io/test_stata.py
+++ b/pandas/tests/io/test_stata.py
@@ -23,6 +23,11 @@ from pandas.io.parsers import read_csv
 from pandas.io.stata import (InvalidColumnName, PossiblePrecisionLoss,
                              StataMissingValue, StataReader, read_stata)
 
+from pandas.compat import is_platform_little_endian
+if not is_platform_little_endian():
+    import nose
+    raise nose.SkipTest("known failure of test_stata on non-little endian")
+
 
 @pytest.fixture
 def dirpath(datapath):