Commit 19b3fea6 authored by Damien George's avatar Damien George
Browse files

tests: Separate out test cases that rely on float support to float/ dir.

parent 115187f7
......@@ -13,6 +13,4 @@ print(array('i', bytearray(4)))
# convert from other arrays
print(array('H', array('b', [1, 2])))
print(array('f', array('h', [1, 2])))
print(array('b', array('I', [1, 2])))
print(array('d', array('f', [1, 2])))
......@@ -11,4 +11,3 @@ print(bytearray([1, 2]))
print(bytearray(array('b', [1, 2])))
print(bytearray(array('h', [1, 2])))
print(bytearray(array('I', [1, 2])))
print(bytearray(array('f', [1, 2.3])))
......@@ -11,4 +11,3 @@ print(bytes(bytearray(4)))
print(bytes(array('b', [1, 2])))
print(bytes(array('h', [1, 2])))
print(bytes(array('I', [1, 2])))
print(bytes(array('f', [1, 2.3])))
# 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])))
# test construction of bytearray from array with float type
from array import array
print(bytearray(array('f', [1, 2.3])))
# test construction of bytearray from array with float type
from array import array
print(bytes(array('f', [1, 2.3])))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment