summaryrefslogtreecommitdiff
path: root/testing/cffi0
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2019-01-29 00:14:14 +0100
committerArmin Rigo <arigo@tunes.org>2019-01-29 00:14:14 +0100
commit066d08b1d10e10ec216733a303d1e27028c054a4 (patch)
tree9dbf8badca334e331870d2d73edebbac8e3e08b8 /testing/cffi0
parent805ceac098c2ae5f3b6792623c4a4ec7d204f983 (diff)
downloadcffi-066d08b1d10e10ec216733a303d1e27028c054a4.tar.gz
py3 fix
Diffstat (limited to 'testing/cffi0')
-rw-r--r--testing/cffi0/test_function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/cffi0/test_function.py b/testing/cffi0/test_function.py
index 5a85c64..ca2353f 100644
--- a/testing/cffi0/test_function.py
+++ b/testing/cffi0/test_function.py
@@ -53,7 +53,7 @@ class TestFunction(object):
""")
needs_dlopen_none()
m = ffi.dlopen(None)
- x = m.getenv("FOO")
+ x = m.getenv(b"FOO")
assert x is None
def test_dlopen_filename(self):