summaryrefslogtreecommitdiff
path: root/tests/extmod/ujson_dump.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/ujson_dump.py')
-rw-r--r--tests/extmod/ujson_dump.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/extmod/ujson_dump.py b/tests/extmod/ujson_dump.py
index b1cb4a9cb..feda8a47d 100644
--- a/tests/extmod/ujson_dump.py
+++ b/tests/extmod/ujson_dump.py
@@ -20,11 +20,11 @@ print(s.getvalue())
# dump to a small-int not allowed
try:
json.dump(123, 1)
-except (AttributeError, OSError): # CPython and uPy have different errors
- print('Exception')
+except (AttributeError, OSError): # CPython and uPy have different errors
+ print("Exception")
# dump to an object not allowed
try:
json.dump(123, {})
-except (AttributeError, OSError): # CPython and uPy have different errors
- print('Exception')
+except (AttributeError, OSError): # CPython and uPy have different errors
+ print("Exception")