summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-12-06 15:13:26 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-12-06 15:13:26 +0200
commitcbc489dff5e6bac00413d818cc55d044dbd75264 (patch)
treef01180f0eca6e6af004a5b2b928250169c0803d4 /tests
parenteed2f36ae2782f169841b61d5314c4d7eb0a5f09 (diff)
downloadmicropython-cbc489dff5e6bac00413d818cc55d044dbd75264.tar.gz
micropython-cbc489dff5e6bac00413d818cc55d044dbd75264.zip
tests: Actuall add feature check for complex type being available.
Diffstat (limited to 'tests')
-rw-r--r--tests/feature_check/complex.py6
-rw-r--r--tests/feature_check/complex.py.exp0
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/feature_check/complex.py b/tests/feature_check/complex.py
new file mode 100644
index 0000000000..a22eb52ce3
--- /dev/null
+++ b/tests/feature_check/complex.py
@@ -0,0 +1,6 @@
+try:
+ complex
+ print("complex")
+except NameError:
+ print("no")
+
diff --git a/tests/feature_check/complex.py.exp b/tests/feature_check/complex.py.exp
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/feature_check/complex.py.exp