Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index f70688d..c8d0859 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -984,6 +984,13 @@
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):