diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-08 15:41:37 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-08 15:41:37 +0000 |
commit | 19b3fea6a885d071a1216614ee3f766aba947cbf (patch) | |
tree | f1fe2527de3a602c1206bd39d370132b52fbde8a /tests/float/array_construct.py | |
parent | 115187f7ceb11b0cb0b77fd98ee3c5be5d03b6f5 (diff) |
tests: Separate out test cases that rely on float support to float/ dir.
Diffstat (limited to 'tests/float/array_construct.py')
-rw-r--r-- | tests/float/array_construct.py | 6 |
1 files changed, 6 insertions, 0 deletions
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]))) |