summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):