diff options
-rw-r--r-- | Lib/test/test_stat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_stat.py b/Lib/test/test_stat.py index f22d865..283e847 100644 --- a/Lib/test/test_stat.py +++ b/Lib/test/test_stat.py @@ -40,7 +40,7 @@ class TestFilemode(unittest.TestCase): @unittest.skipUnless(hasattr(os, 'symlink'), 'os.symlink not available') def test_link(self): os.symlink(os.getcwd(), TESTFN) - self.assertEqual(get_mode(), 'lrwxrwxrwx') + self.assertEqual(get_mode()[0], 'l') @unittest.skipUnless(hasattr(os, 'mkfifo'), 'os.mkfifo not available') def test_fifo(self): |