From dc633ef8188eca01437337953943eae4e4667c5a Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Sat, 4 Aug 2018 13:55:23 -0400 Subject: [PATCH] Comment or move all currently-failing snippet tests This allows us to make the snippet tests merge-blockers, whilst improving over time. --- tests/{snippets => not_yet_working}/append.py | 0 tests/{snippets => not_yet_working}/cast.py | 0 tests/{snippets => not_yet_working}/floats.py | 0 tests/{snippets => not_yet_working}/function_args.py | 0 tests/{benchmarks => not_yet_working}/perf_fib.py | 0 tests/snippets/basic_types.py | 4 ++-- tests/snippets/math.py | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename tests/{snippets => not_yet_working}/append.py (100%) rename tests/{snippets => not_yet_working}/cast.py (100%) rename tests/{snippets => not_yet_working}/floats.py (100%) rename tests/{snippets => not_yet_working}/function_args.py (100%) rename tests/{benchmarks => not_yet_working}/perf_fib.py (100%) diff --git a/tests/snippets/append.py b/tests/not_yet_working/append.py similarity index 100% rename from tests/snippets/append.py rename to tests/not_yet_working/append.py diff --git a/tests/snippets/cast.py b/tests/not_yet_working/cast.py similarity index 100% rename from tests/snippets/cast.py rename to tests/not_yet_working/cast.py diff --git a/tests/snippets/floats.py b/tests/not_yet_working/floats.py similarity index 100% rename from tests/snippets/floats.py rename to tests/not_yet_working/floats.py diff --git a/tests/snippets/function_args.py b/tests/not_yet_working/function_args.py similarity index 100% rename from tests/snippets/function_args.py rename to tests/not_yet_working/function_args.py diff --git a/tests/benchmarks/perf_fib.py b/tests/not_yet_working/perf_fib.py similarity index 100% rename from tests/benchmarks/perf_fib.py rename to tests/not_yet_working/perf_fib.py diff --git a/tests/snippets/basic_types.py b/tests/snippets/basic_types.py index 34c35e117..024658c91 100644 --- a/tests/snippets/basic_types.py +++ b/tests/snippets/basic_types.py @@ -4,10 +4,10 @@ print(None) # print(True) # LOAD_NAME??? print(1) # print(1L) # Long -print(1.1) +# print(1.1) # ComplexType print("abc") -print(u"abc") +# print(u"abc") # Structural below # print((1, 2)) # Tuple can be any length, but fixed after declared # x = (1,2) diff --git a/tests/snippets/math.py b/tests/snippets/math.py index fb71da752..92fee575e 100644 --- a/tests/snippets/math.py +++ b/tests/snippets/math.py @@ -11,7 +11,7 @@ a = 4 assert a ** 3 == 64 assert a * 3 == 12 assert a / 2 == 2 -assert a % 3 == 1 +# assert a % 3 == 1 assert a - 3 == 1 assert -a == -4 assert +a == 4