From 214179b430ebc1101e28b19248b6166f5e511e6b Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 25 Mar 2015 23:10:09 +0000 Subject: tests: Add tests for SyntaxError, TypeError, and other missing things. This is intended to improve coverage of the test suite. --- tests/basics/array_construct.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/basics/array_construct.py') diff --git a/tests/basics/array_construct.py b/tests/basics/array_construct.py index 8c0b4b597..47c986c94 100644 --- a/tests/basics/array_construct.py +++ b/tests/basics/array_construct.py @@ -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)))) -- cgit v1.2.3