mirror of
https://github.com/python/cpython.git
synced 2025-11-01 22:21:35 +00:00
Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
This commit is contained in:
parent
e0be423297
commit
8b905bd9d4
5 changed files with 54 additions and 5 deletions
|
|
@ -984,6 +984,13 @@ def test_cpu_set_bitwise(self):
|
|||
self.assertIs(b, l)
|
||||
self.assertEqual(l.count(), 3)
|
||||
|
||||
def test_rtld_constants(self):
|
||||
# check presence of major RTLD_* constants
|
||||
posix.RTLD_LAZY
|
||||
posix.RTLD_NOW
|
||||
posix.RTLD_GLOBAL
|
||||
posix.RTLD_LOCAL
|
||||
|
||||
class PosixGroupsTester(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue