We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f32292 commit 9670b31Copy full SHA for 9670b31
pandas/io/tests/test_common.py
@@ -1,14 +1,15 @@
1
"""
2
Tests for the pandas.io.common functionalities
3
4
-from pandas.compat import StringIO
+import nose
5
import mmap
6
import os
7
from os.path import isabs
8
9
import pandas.util.testing as tm
10
11
from pandas.io import common
12
+from pandas.compat import is_platform_windows, StringIO
13
14
from pandas import read_csv, concat
15
@@ -97,6 +98,10 @@ def setUp(self):
97
98
'test_mmap.csv')
99
100
def test_constructor_bad_file(self):
101
+ if is_platform_windows():
102
+ raise nose.SkipTest("skipping construction error messages "
103
+ "tests on windows")
104
+
105
non_file = StringIO('I am not a file')
106
non_file.fileno = lambda: -1
107
0 commit comments