Issue 2112. mmap does not raises EnvironmentError no more, but
a subclass of it. Thanks John Lenton.
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index 8a145cf..49ec78b 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -436,6 +436,11 @@
         self.assertRaises(TypeError, m.write, "foo")
 
 
+    def test_error(self):
+        self.assert_(issubclass(mmap.error, EnvironmentError))
+        self.assert_("mmap.error" in str(mmap.error))
+
+
 def test_main():
     run_unittest(MmapTests)