diff --git a/tests/test_inter_peer_cancellation.py b/tests/test_inter_peer_cancellation.py index 7bf9a2b..bac9a79 100644 --- a/tests/test_inter_peer_cancellation.py +++ b/tests/test_inter_peer_cancellation.py @@ -170,7 +170,7 @@ def test_do_not_swallow_error_before_started_by_remote_contextcancelled( trio.run(main) rae = excinfo.value - assert rae.boxed_type == TypeError + assert rae.boxed_type is TypeError @tractor.context