tests: Add tests for SyntaxError, TypeError, and other missing things.

This is intended to improve coverage of the test suite.
This commit is contained in:
Damien George
2015-03-25 23:10:09 +00:00
parent 44f65c0e2f
commit 214179b430
24 changed files with 296 additions and 6 deletions

View File

@@ -14,3 +14,6 @@ print(array('i', bytearray(4)))
# convert from other arrays
print(array('H', array('b', [1, 2])))
print(array('b', array('I', [1, 2])))
# construct from something with unknown length
print(array('i', (i for i in range(10))))