diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2013-01-02 02:18:36 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2013-01-02 02:18:36 +0400 |
commit | d27591076fa0ec8ab046aa805581e88e5c612585 (patch) | |
tree | db3e87a5d18de2d8bf5f22f3b3542cda5af8bd20 /test/integration | |
parent | 069bddbbcb4d2ba2a4f9c1727e12963ce8e80eab (diff) |
fix exception handling
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/test_xmpp_transports_nb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test_xmpp_transports_nb.py b/test/integration/test_xmpp_transports_nb.py index 98f2c87fc..9f7fb0d5d 100644 --- a/test/integration/test_xmpp_transports_nb.py +++ b/test/integration/test_xmpp_transports_nb.py @@ -72,7 +72,7 @@ class TestNonBlockingTCP(AbstractTransportTest): ips = socket.getaddrinfo('gajim.org', 5222, socket.AF_UNSPEC, socket.SOCK_STREAM) ip = ips[0] - except socket.error, e: + except socket.error as e: self.testcase.fail(msg=str(e)) self.socket = transports_nb.NonBlockingTCP( |