Commits

Armin Rigo committed c15983a Merge

merge heads

  • Participants
  • Parent commits 27c82dc, 7889afd

Comments (0)

Files changed (2)

testing/backend_tests.py

             assert content.startswith(b'\x64\x00\x00\x00\x65\x00\x00\x00')
             b[4] = b'\x45'
         else:
-            assert content.startswith('\x00\x00\x00\x64\x00\x00\x00\x65')
+            assert content.startswith(b'\x00\x00\x00\x64\x00\x00\x00\x65')
             b[7] = b'\x45'
         assert len(content) == 4 * 10
         assert a[1] == 0x45

testing/test_function.py

         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