mirror of
https://github.com/python/cpython.git
synced 2024-12-16 05:14:41 +08:00
#14807: fix bb failure due to symlink test relying on hard-coded permissions
This commit is contained in:
parent
0fb41b56ea
commit
b28df76ee2
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user