Author: Stefano Rivera <[email protected]>
Branch:
Changeset: r1215:4fa8a99e93e8
Date: 2013-03-30 21:38 +0200
http://bitbucket.org/cffi/cffi/changeset/4fa8a99e93e8/
Log: Linux isn't the only platform using glibc. Debian gnukfreebsd and
hurd ports do too
diff --git a/testing/test_function.py b/testing/test_function.py
--- a/testing/test_function.py
+++ b/testing/test_function.py
@@ -173,7 +173,7 @@
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit