summaryrefslogtreecommitdiff
path: root/tests/test_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_context.py')
-rw-r--r--tests/test_context.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/test_context.py b/tests/test_context.py
index 6a9afcd..7521ac3 100644
--- a/tests/test_context.py
+++ b/tests/test_context.py
@@ -18,21 +18,6 @@ def test_temp_connection():
assert not sig.receivers
-def test_temp_connection_alias():
- sig = Signal()
-
- canary = []
- receiver = lambda sender: canary.append(sender)
-
- sig.send(1)
- with sig.temporarily_connected_to(receiver):
- sig.send(2)
- sig.send(3)
-
- assert canary == [2]
- assert not sig.receivers
-
-
def test_temp_connection_for_sender():
sig = Signal()