tests/basics: Split out specific bytearray tests to separate files.
So they can be automatically skipped if bytearray is not enabled.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
# test construction of bytes from different objects
|
||||
|
||||
# tuple, list, bytearray
|
||||
# tuple, list
|
||||
print(bytes((1, 2)))
|
||||
print(bytes([1, 2]))
|
||||
print(bytes(bytearray(4)))
|
||||
|
||||
# constructor value out of range
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user