[Telepathy-commits] [telepathy-gabble/master] Don't do assignments if we're not using the values

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Aug 19 10:54:15 PDT 2008


20080730125331-b58c9-cf7984cf7b9c7f8f743e64082e3928c6b4200720.gz
---
 tests/twisted/test-caps-cache.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/test-caps-cache.py b/tests/twisted/test-caps-cache.py
index 1f497fd..6e9f6f4 100644
--- a/tests/twisted/test-caps-cache.py
+++ b/tests/twisted/test-caps-cache.py
@@ -43,7 +43,7 @@ def _test_without_hash(q, bus, conn, stream, contact, contact_handle, client, di
     presence = make_presence(contact, None, 'hello')
     stream.send(presence)
 
-    _,_ = q.expect_many(
+    q.expect_many(
         EventPattern('dbus-signal', signal='PresenceUpdate',
             args=[{contact_handle:
                (0L, {u'available': {'message': 'hello'}})}]),
@@ -88,7 +88,7 @@ def _test_with_hash(q, bus, conn, stream, contact, contact_handle, client, disco
     presence = make_presence(contact, None, 'hello')
     stream.send(presence)
 
-    _,_ = q.expect_many(
+    q.expect_many(
         EventPattern('dbus-signal', signal='PresenceUpdate',
             args=[{contact_handle:
                (0L, {u'available': {'message': 'hello'}})}]),
-- 
1.5.6.3




More information about the Telepathy-commits mailing list