Commit 31191a9c authored by Benjamin Peterson's avatar Benjamin Peterson

make condition more specific

parent 6f137ca4
......@@ -938,7 +938,8 @@ class Win32KillTests(unittest.TestCase):
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')
......
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