Skip to content

Commit 1e486a5

Browse files
committed
ENH: skip test_file test with python 2.5 (not supported AFAIK)
1 parent 80b9d84 commit 1e486a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/io/tests/test_parsers.py

+2
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,8 @@ def test_url(self):
812812
@slow
813813
def test_file(self):
814814
# FILE
815+
if sys.version_info[:2] < (2, 6):
816+
raise nose.SkipTest("file:// not supported with Python < 2.6")
815817
dirpath = curpath()
816818
localtable = os.path.join(dirpath, 'salary.table')
817819
local_table = read_table(localtable)

0 commit comments

Comments
 (0)