diff options
| author | Armin Rigo <arigo@tunes.org> | 2015-05-16 21:04:52 +0200 |
|---|---|---|
| committer | Armin Rigo <arigo@tunes.org> | 2015-05-16 21:04:52 +0200 |
| commit | 92aeb09339ffa7c092d72a784826bc75f7d0b026 (patch) | |
| tree | 705b6e2676509a2090f87f2283b4e75a3bb733ba /testing/cffi1/test_re_python.py | |
| parent | 18f51d8c3865007d4e25b2ef8fff65f8096f0906 (diff) | |
| download | cffi-92aeb09339ffa7c092d72a784826bc75f7d0b026.tar.gz | |
Add RTLD_xxx flags to the CompiledFFI type
Diffstat (limited to 'testing/cffi1/test_re_python.py')
| -rw-r--r-- | testing/cffi1/test_re_python.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/cffi1/test_re_python.py b/testing/cffi1/test_re_python.py index 82d1ad7..2f1f74a 100644 --- a/testing/cffi1/test_re_python.py +++ b/testing/cffi1/test_re_python.py @@ -131,3 +131,9 @@ def test_global_var(): assert p[0] == 1239 p[0] -= 1 assert lib.globalvar42 == 1238 + +def test_rtld_constants(): + from re_python_pysrc import ffi + ffi.RTLD_NOW # check that we have the attributes + ffi.RTLD_LAZY + ffi.RTLD_GLOBAL |
