From 160af249f76e39422049290e0dc56f08a55cd321 Mon Sep 17 00:00:00 2001 From: Neil Parley Date: Thu, 23 Jun 2016 23:04:44 +0100 Subject: [PATCH] mmap error is not always returned in English --- pandas/io/tests/test_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/tests/test_common.py b/pandas/io/tests/test_common.py index cf5ec7d911051..5740944558a5d 100644 --- a/pandas/io/tests/test_common.py +++ b/pandas/io/tests/test_common.py @@ -105,7 +105,7 @@ def test_constructor_bad_file(self): msg = "The parameter is incorrect" err = OSError else: - msg = "Invalid argument" + msg = "[Errno 22]" err = mmap.error tm.assertRaisesRegexp(err, msg, common.MMapWrapper, non_file)