diff options
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 49c6591..928ea1a 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -449,7 +449,7 @@ class EnvironTests(mapping_tests.BasicTestMappingProtocol): try: value_bytes = value.encode(sys.getfilesystemencoding(), 'surrogateescape') except UnicodeEncodeError: - raise unittest.SkipTest("U+20AC character is not encodable to %s" % sys.getfilesystemencoding()) + raise self.skip("U+20AC character is not encodable to %s" % sys.getfilesystemencoding()) os.environ['unicode'] = value self.assertEquals(os.environ['unicode'], value) self.assertEquals(os.environb[b'unicode'], value_bytes) |