diff options
Diffstat (limited to 'tests/feature_check')
-rw-r--r-- | tests/feature_check/byteorder.py | 2 | ||||
-rw-r--r-- | tests/feature_check/byteorder.py.exp | 0 | ||||
-rw-r--r-- | tests/feature_check/native_check.py | 4 | ||||
-rw-r--r-- | tests/feature_check/native_check.py.exp | 0 | ||||
-rw-r--r-- | tests/feature_check/repl_emacs_check.py | 3 | ||||
-rw-r--r-- | tests/feature_check/repl_emacs_check.py.exp | 6 |
6 files changed, 15 insertions, 0 deletions
diff --git a/tests/feature_check/byteorder.py b/tests/feature_check/byteorder.py new file mode 100644 index 0000000000..d60f939568 --- /dev/null +++ b/tests/feature_check/byteorder.py @@ -0,0 +1,2 @@ +import sys +print(sys.byteorder) diff --git a/tests/feature_check/byteorder.py.exp b/tests/feature_check/byteorder.py.exp new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/feature_check/byteorder.py.exp diff --git a/tests/feature_check/native_check.py b/tests/feature_check/native_check.py new file mode 100644 index 0000000000..3971d1355f --- /dev/null +++ b/tests/feature_check/native_check.py @@ -0,0 +1,4 @@ +# this test for the availability of native emitter +@micropython.native +def f(): + pass diff --git a/tests/feature_check/native_check.py.exp b/tests/feature_check/native_check.py.exp new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/feature_check/native_check.py.exp diff --git a/tests/feature_check/repl_emacs_check.py b/tests/feature_check/repl_emacs_check.py new file mode 100644 index 0000000000..3209716229 --- /dev/null +++ b/tests/feature_check/repl_emacs_check.py @@ -0,0 +1,3 @@ +# Check for emacs keys in REPL +t = +11 +t == 2 diff --git a/tests/feature_check/repl_emacs_check.py.exp b/tests/feature_check/repl_emacs_check.py.exp new file mode 100644 index 0000000000..d3834429bd --- /dev/null +++ b/tests/feature_check/repl_emacs_check.py.exp @@ -0,0 +1,6 @@ +Micro Python \.\+ version +>>> # Check for emacs keys in REPL +>>> t = \.\+ +>>> t == 2 +True +>>> |