summaryrefslogtreecommitdiff
path: root/testing/cffi1/test_dlopen_unicode_literals.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cffi1/test_dlopen_unicode_literals.py')
-rw-r--r--testing/cffi1/test_dlopen_unicode_literals.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/cffi1/test_dlopen_unicode_literals.py b/testing/cffi1/test_dlopen_unicode_literals.py
new file mode 100644
index 0000000..e792866
--- /dev/null
+++ b/testing/cffi1/test_dlopen_unicode_literals.py
@@ -0,0 +1,9 @@
+import py, os
+
+s = """from __future__ import unicode_literals
+"""
+
+with open(os.path.join(os.path.dirname(__file__), 'test_dlopen.py')) as f:
+ s += f.read()
+
+exec(py.code.compile(s))