We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0a382 commit 4e58a12Copy full SHA for 4e58a12
1 file changed
tests/test_sync.py
@@ -24,7 +24,9 @@ def test_Outcome():
24
e = Error(exc)
25
error = e.error
26
assert error is exc
27
+ e = Error(exc)
28
assert repr(e) == f"Error({exc!r})"
29
30
with pytest.raises(RuntimeError):
31
e.unwrap()
32
with pytest.raises(AlreadyUsedError):
0 commit comments