From 19b3fea6a885d071a1216614ee3f766aba947cbf Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 8 Jan 2015 15:41:37 +0000 Subject: tests: Separate out test cases that rely on float support to float/ dir. --- tests/float/array_construct.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/float/array_construct.py (limited to 'tests/float/array_construct.py') diff --git a/tests/float/array_construct.py b/tests/float/array_construct.py new file mode 100644 index 000000000..a25cc72c8 --- /dev/null +++ b/tests/float/array_construct.py @@ -0,0 +1,6 @@ +# test construction of array from array with float type + +from array import array + +print(array('f', array('h', [1, 2]))) +print(array('d', array('f', [1, 2]))) -- cgit v1.2.3