Skip to content

Commit 12307f0

Browse files
committed
IDNA: Another place to deal with the exception difference.
1 parent 4666505 commit 12307f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gevent/tests/test__socket_dns.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def test_gethostbyname(self):
7676
ipaddr = self._test('gethostbyname', x,
7777
require_equal_errors=require_equal_errors)
7878
if not isinstance(ipaddr, Exception):
79-
self._test('gethostbyaddr', ipaddr)
79+
self._test('gethostbyaddr', ipaddr,
80+
require_equal_errors=require_equal_errors)
8081
test_gethostbyname.__name__ = 'test_%s_gethostbyname' % name
8182
_setattr(klass, test_gethostbyname.__name__, test_gethostbyname)
8283

0 commit comments

Comments
 (0)