commit | 31191a9cc520fd39edf9e23b5fd410df3c41a4d8 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun May 09 03:22:58 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun May 09 03:22:58 2010 +0000 |
tree | b07aaff1e3937441695cd0986e33f9e49b52728e | |
parent | 6f137ca4693a9c37ec012846aebc02f6863547be [diff] |
make condition more specific
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 7fb4376..b7d819a 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py
@@ -938,7 +938,8 @@ class MiscTests(unittest.TestCase): - @unittest.skipIf(sys.platform == "win32", "POSIX specific test") + + @unittest.skipIf(os.name == "nt", "POSIX specific test") def test_fsencode(self): self.assertEquals(os.fsencode(b'ab\xff'), b'ab\xff') self.assertEquals(os.fsencode('ab\uDCFF'), b'ab\xff')