Skip to content

Commit

Permalink
Revert "try removing flaky tests"
Browse files Browse the repository at this point in the history
This reverts commit 4c64221.
  • Loading branch information
tserg committed Sep 29, 2023
1 parent 4c64221 commit 504f787
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/parser/features/iteration/test_for_in_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,13 @@ def foo():
""",
StateAccessViolation,
),
"""
@external
def foo():
a: int128 = 6
for i in range(a,a-3):
pass
""",
# invalid argument length
(
"""
Expand Down
7 changes: 7 additions & 0 deletions tests/parser/syntax/test_for_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ def foo():
pass
""",
"""
@external
def foo():
x: int128 = 5
for i in range(x, x + 10):
pass
""",
"""
interface Foo:
def kick(): nonpayable
foos: Foo[3]
Expand Down

0 comments on commit 504f787

Please sign in to comment.