summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2013-03-30 21:38:02 +0200
committerStefano Rivera <stefano@rivera.za.net>2013-03-30 21:38:02 +0200
commit6b3b93cfd474c32ec2cbea14aef533c77c2cc5f1 (patch)
tree4a58c63917e65bf89cb38d5f12563ce873cadeb7 /testing
parent2fd50c6dfd38410886f94047fb5e0afa4452159a (diff)
downloadcffi-6b3b93cfd474c32ec2cbea14aef533c77c2cc5f1.tar.gz
Linux isn't the only platform using glibc. Debian gnukfreebsd and hurd ports do too
Diffstat (limited to 'testing')
-rw-r--r--testing/test_function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_function.py b/testing/test_function.py
index 0e11618..92769d1 100644
--- a/testing/test_function.py
+++ b/testing/test_function.py
@@ -173,7 +173,7 @@ class TestFunction(object):
res = fd.getvalue()
if sys.platform == 'win32':
NIL = b"00000000"
- elif sys.platform.startswith('linux'):
+ elif sys.platform.startswith(('linux', 'gnu')):
NIL = b"(nil)"
else:
NIL = b"0x0" # OS/X at least