Skip to content

Commit

Permalink
tests done
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Apr 22, 2024
1 parent 0b09d17 commit 368b7e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/units/test_proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,7 @@ def function():
lst.append(2)
yield

all(function())
[x for x in function()]

assert lst == [1, 2]

Expand All @@ -2380,7 +2380,7 @@ def function():
lst.append(2)
yield

all(function())
[x for x in function()]

assert lst == [1, 2]

Expand Down Expand Up @@ -2408,7 +2408,7 @@ def function():
yield

with pytest.raises(ValueError, match=full_match('text')):
all(function())
[x for x in function()]

assert lst == [1]

Expand Down Expand Up @@ -2443,7 +2443,7 @@ def function():
yield
raise ValueError('text')

all(function())
[x for x in function()]

assert lst == [1, 2]

Expand All @@ -2470,7 +2470,7 @@ def function():
yield
raise ValueError('text')

all(function())
[x for x in function()]

assert lst == [1, 2]

Expand Down Expand Up @@ -2498,6 +2498,6 @@ def function():
raise ValueError('text2')

with pytest.raises(ValueError, match=full_match('text')):
all(function())
[x for x in function()]

assert lst == [1]

0 comments on commit 368b7e6

Please sign in to comment.