summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/float2int_doubleprec_intbig.py
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-06-18 11:19:14 +0200
committerDamien George <damien@micropython.org>2020-09-04 00:10:24 +1000
commit40ad8f1666b265dafc7844d765f45cfae4b6299f (patch)
treed073a4b4f791f53d1a73c47d029bf2b49f041d5e /tests/float/float2int_doubleprec_intbig.py
parentb0932fcf2e2f9a81abf7737ed4b2573bd9ad4a49 (diff)
downloadmicropython-40ad8f1666b265dafc7844d765f45cfae4b6299f.tar.gz
micropython-40ad8f1666b265dafc7844d765f45cfae4b6299f.zip
all: Rename "sys" module to "usys".
This is consistent with the other 'micro' modules and allows implementing additional features in Python via e.g. micropython-lib's sys. Note this is a breaking change (not backwards compatible) for ports which do not enable weak links, as "import sys" must now be replaced with "import usys".
Diffstat (limited to 'tests/float/float2int_doubleprec_intbig.py')
-rw-r--r--tests/float/float2int_doubleprec_intbig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/float/float2int_doubleprec_intbig.py b/tests/float/float2int_doubleprec_intbig.py
index 84fa2d2536..418eddb607 100644
--- a/tests/float/float2int_doubleprec_intbig.py
+++ b/tests/float/float2int_doubleprec_intbig.py
@@ -2,10 +2,10 @@
try:
import ustruct as struct
+ import usys as sys
except:
import struct
-
-import sys
+ import sys
maxsize_bits = 0
maxsize = sys.maxsize