[tor-commits] [ooni-probe/master] Silence the dummy protocol

art at torproject.org art at torproject.org
Thu Feb 6 16:26:03 UTC 2014


commit 823acb79def9091f6efe6d88623253da2ee65c2b
Author: Arturo Filastò <art at fuffa.org>
Date:   Mon Feb 3 16:43:11 2014 +0100

    Silence the dummy protocol
---
 ooni/tests/test_nettest.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ooni/tests/test_nettest.py b/ooni/tests/test_nettest.py
index 718fca7..73cddd1 100644
--- a/ooni/tests/test_nettest.py
+++ b/ooni/tests/test_nettest.py
@@ -275,7 +275,7 @@ class TestNettestTimeout(unittest.TestCase):
 
         class DummyProtocol(Protocol):
             def dataReceived(self, data):
-                print data
+                pass
 
         class DummyFactory(Factory):
             def __init__(self):





More information about the tor-commits mailing list