Paul Sokolovsky
8 years ago
41 changed files with 254 additions and 62 deletions
@ -1,5 +1,10 @@ |
|||
# test uPy ujson behaviour that's not valid in CPy |
|||
|
|||
import ujson |
|||
try: |
|||
import ujson |
|||
except ImportError: |
|||
import sys |
|||
print("SKIP") |
|||
sys.exit() |
|||
|
|||
print(ujson.dumps(b'1234')) |
|||
|
@ -1,6 +1,11 @@ |
|||
try: |
|||
import ujson as json |
|||
except ImportError: |
|||
import json |
|||
try: |
|||
import json |
|||
except ImportError: |
|||
import sys |
|||
print("SKIP") |
|||
sys.exit() |
|||
|
|||
print(json.dumps(1.2)) |
|||
|
@ -1,3 +1,9 @@ |
|||
# test printing debugging info when compiling |
|||
import ure |
|||
try: |
|||
import ure |
|||
except ImportError: |
|||
import sys |
|||
print("SKIP") |
|||
sys.exit() |
|||
|
|||
ure.compile('^a|b[0-9]\w$', ure.DEBUG) |
|||
|
Loading…
Reference in new issue