diff --git a/tests/_functions.py b/tests/_functions.py index 170c2150..004da744 100644 --- a/tests/_functions.py +++ b/tests/_functions.py @@ -1,17 +1,6 @@ ## Function Tests. -#a := 1 -#_b = (1, 2) -#(d := 4) + 6 -#(D := 4) -#assert D == 4 -#x = D + 1 -x = (a := 3,4) -y = (a := 3) -print(y) -#assert False # (D := 4)==4 -# b = (d := 4) + (c := 4) -# c = (d := 2) + 1 -# b = (x := a + 1) + 2 + + def f1(): return 'f1' assert f1() == 'f1' diff --git a/tests/_walrus.py b/tests/_walrus.py index e42f02bd..952e4d53 100644 --- a/tests/_walrus.py +++ b/tests/_walrus.py @@ -3,4 +3,5 @@ assert ( y := 1) + 2 == 3 a = (y := 4) + 5 assert a == 9 -assert y == 4 \ No newline at end of file +assert y == 4 +