Commit 7a46e7ab authored by Benjamin Peterson's avatar Benjamin Peterson

self.skip -> self.skipTest

parent 7e9bbf6d
...@@ -452,7 +452,7 @@ class EnvironTests(mapping_tests.BasicTestMappingProtocol): ...@@ -452,7 +452,7 @@ class EnvironTests(mapping_tests.BasicTestMappingProtocol):
except UnicodeEncodeError: except UnicodeEncodeError:
msg = "U+20AC character is not encodable to %s" % ( msg = "U+20AC character is not encodable to %s" % (
sys.getfilesystemencoding(),) sys.getfilesystemencoding(),)
self.skip(msg) self.skipTest(msg)
os.environ['unicode'] = value os.environ['unicode'] = value
self.assertEquals(os.environ['unicode'], value) self.assertEquals(os.environ['unicode'], value)
self.assertEquals(os.environb[b'unicode'], value_bytes) self.assertEquals(os.environb[b'unicode'], value_bytes)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment