diff options
author | jason kirtland <jek@discorporate.us> | 2011-10-26 21:04:52 -0700 |
---|---|---|
committer | jason kirtland <jek@discorporate.us> | 2011-10-26 21:04:52 -0700 |
commit | b1d5adf43e69a61a6f825a1533933b8b732ff942 (patch) | |
tree | 93f0d1bc7475d86484cbb0e42a412bec5e49a104 /tests/test_context.py | |
parent | 6ebe7df9412d705b9924332cf706f4036badb539 (diff) | |
download | blinker-b1d5adf43e69a61a6f825a1533933b8b732ff942.tar.gz |
Upgrade temporarily_connected_to to a deprecation warning.
Diffstat (limited to 'tests/test_context.py')
-rw-r--r-- | tests/test_context.py | 15 |
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() |