Skip to content

Commit 160af24

Browse files
committed
mmap error is not always returned in English
1 parent 01e3de4 commit 160af24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/tests/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_constructor_bad_file(self):
105105
msg = "The parameter is incorrect"
106106
err = OSError
107107
else:
108-
msg = "Invalid argument"
108+
msg = "[Errno 22]"
109109
err = mmap.error
110110

111111
tm.assertRaisesRegexp(err, msg, common.MMapWrapper, non_file)

0 commit comments

Comments
 (0)