From 531c206e8b2e4d1af735af473c2fdeb8c1b36247 Mon Sep 17 00:00:00 2001 From: Rami Ali Date: Wed, 21 Dec 2016 14:47:02 +1100 Subject: tests: Add tests to improve coverage of runtime.c. --- tests/float/float1.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/float/float1.py') diff --git a/tests/float/float1.py b/tests/float/float1.py index f21f5bcdd..0e115032b 100644 --- a/tests/float/float1.py +++ b/tests/float/float1.py @@ -87,6 +87,12 @@ try: except TypeError: print("TypeError") +# small int on LHS, float on RHS, unsupported op +try: + print(1 | 1.0) +except TypeError: + print('TypeError') + # can't convert list to float try: float([]) -- cgit v1.2.3