Commit dc2fcfcc55 seems to have accidentally
changed the ruff quote style to "preserve", instead of keeping it at the
default which is "double".
Put it back to the default and update relevant .py files with this rule.
Signed-off-by: Damien George <damien@micropython.org>
16 lines
471 B
Python
16 lines
471 B
Python
# Parse 64-bit integers from JSON payloads.
|
|
#
|
|
# This also exercises parsing integers from strings
|
|
# where the value may not be null terminated (last line)
|
|
try:
|
|
import json
|
|
except ImportError:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
|
|
print(json.loads("9111222333444555666"))
|
|
print(json.loads("-9111222333444555666"))
|
|
print(json.loads("9111222333444555666"))
|
|
print(json.loads("-9111222333444555666"))
|
|
print(json.loads('["9111222333444555666777",9111222333444555666]'))
|