Skip to content

Commit

Permalink
test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Apr 22, 2024
1 parent 8cbb8bb commit af95e15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/units/test_proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,6 @@ def callback():
@decorator_factory(before=callback)
def function():
lst.append(2)
raise ValueError

function()

Expand Down Expand Up @@ -1975,4 +1974,4 @@ def function():
with pytest.raises(ValueError, match=full_match('text')):
function()

assert lst == [1, 2]
assert lst == [1]

0 comments on commit af95e15

Please sign in to comment.