summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-06 22:23:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-06 22:23:58 (GMT)
commit9eafe107832f3ef767628e0919cbea125b31d2d8 (patch)
treed01ceee3f3156f82f9299f3e63ddccd44baf34c7 /Lib
parent17b490d7064ac18e18e6a141f7b7319feb08c08d (diff)
downloadcpython-9eafe107832f3ef767628e0919cbea125b31d2d8.zip
cpython-9eafe107832f3ef767628e0919cbea125b31d2d8.tar.gz
cpython-9eafe107832f3ef767628e0919cbea125b31d2d8.tar.bz2
use concise skipping
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_os.py2
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)