[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Add skip coverage pragma to import exception line in bridgedb.crypto.
commit 9b55ea2ad538fdc10e62cfda2e1b736a18d41568
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Sun Feb 22 11:02:41 2015 +0000
Add skip coverage pragma to import exception line in bridgedb.crypto.
---
lib/bridgedb/crypto.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/crypto.py b/lib/bridgedb/crypto.py
index 63e532b..724d649 100644
--- a/lib/bridgedb/crypto.py
+++ b/lib/bridgedb/crypto.py
@@ -72,7 +72,7 @@ DIGESTMOD = hashlib.sha1
NEW_BUFFER_INTERFACE = False
try:
io.BytesIO(buffer('test'))
-except TypeError:
+except TypeError: # pragma: no cover
logging.warn(
"This Python version is too old! "\
"It doesn't support new-style buffer interfaces: "\
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits