mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#14807: fix bb failure due to symlink test relying on hard-coded permissions
This commit is contained in:
parent
0fb41b56ea
commit
b28df76ee2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue