Skip to content

Commit

Permalink
edit match value in test_raises_server32_error
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Feb 11, 2024
1 parent b312024 commit a4dc9e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ def test_context_manager():


def test_raises_server32_error():
match = r'TypeError: wrong type\n\(see above for more details\)$'

c = Client(host=None)
with pytest.raises(Server32Error, match=match):
with pytest.raises(Server32Error, match=r'\(see above for more details\)$'):
assert c.add(1, [2]) == 3

stdout, stderr = c.shutdown_server32()
Expand Down

0 comments on commit a4dc9e5

Please sign in to comment.