summaryrefslogtreecommitdiff
path: root/tests/basics/int_bytes.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-07-03 15:05:08 -0700
committerScott Shawcroft <scott@chickadee.tech>2017-08-11 17:16:13 -0700
commitfab634e3eeb456e9d5dffa2cabb9ded39c45d6b6 (patch)
tree4f1926142546130d7bd0388303ebe0cd2ab1181c /tests/basics/int_bytes.py
parentf6a702538a0b3dd72879d65e3acc32520d4371f5 (diff)
Turn on Rosie CI testing to test new builds on real hardware.
This introduces a skip_if module that can be used by tests to determine when they should be skipped due to the environment. Some tests have been split in order to have finer grained skip control.
Diffstat (limited to 'tests/basics/int_bytes.py')
-rw-r--r--tests/basics/int_bytes.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/basics/int_bytes.py b/tests/basics/int_bytes.py
index 93c00bba1..a96a4e65f 100644
--- a/tests/basics/int_bytes.py
+++ b/tests/basics/int_bytes.py
@@ -1,9 +1,6 @@
print((10).to_bytes(1, "little"))
print((111111).to_bytes(4, "little"))
print((100).to_bytes(10, "little"))
-print(int.from_bytes(b"\x00\x01\0\0\0\0\0\0", "little"))
-print(int.from_bytes(b"\x01\0\0\0\0\0\0\0", "little"))
-print(int.from_bytes(b"\x00\x01\0\0\0\0\0\0", "little"))
# check that extra zero bytes don't change the internal int value
print(int.from_bytes(bytes(20), "little") == 0)