summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multibytecodec_support.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-11-01 15:59:11 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-11-01 15:59:11 (GMT)
commitc9e92167ac1a1900981f905da7a415cc2cb404d0 (patch)
tree298596aac9e56fbc4b0b2ce420ce09fa087e7375 /Lib/test/test_multibytecodec_support.py
parent5800b271043d52d34f22f68ad6c0339d2c4bc04a (diff)
downloadcpython-c9e92167ac1a1900981f905da7a415cc2cb404d0.zip
cpython-c9e92167ac1a1900981f905da7a415cc2cb404d0.tar.gz
cpython-c9e92167ac1a1900981f905da7a415cc2cb404d0.tar.bz2
Fix test skipping in multibyte codec tests
Diffstat (limited to 'Lib/test/test_multibytecodec_support.py')
-rw-r--r--Lib/test/test_multibytecodec_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_multibytecodec_support.py b/Lib/test/test_multibytecodec_support.py
index 5e68856..e4036bf 100644
--- a/Lib/test/test_multibytecodec_support.py
+++ b/Lib/test/test_multibytecodec_support.py
@@ -279,7 +279,7 @@ class TestBase_Mapping(unittest.TestCase):
try:
self.open_mapping_file() # test it to report the error early
except IOError:
- raise support.TestSkipped("Could not retrieve "+self.mapfileurl)
+ self.skipTest("Could not retrieve "+self.mapfileurl)
def open_mapping_file(self):
return support.open_urlresource(self.mapfileurl)