Skip to content

Commit

Permalink
test: modified test for missing bb_flag (python#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaPoo authored Jun 8, 2023
1 parent 7cab316 commit 1cb582f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tier2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,14 +507,13 @@ def __add__(self, _): return "Hewwo!"
def f(a):
b = 1
if a: b = A()
print(b)
return b+b


for _ in range(63): f(0)

assert f(1) == "Hewwo!"

assert f(1) == "Hewwo!"
assert f(0) == 2
assert f(0) == 2

# As long as it doesn't crash, everything's good.
Expand Down

0 comments on commit 1cb582f

Please sign in to comment.