Skip to content

Commit 5f083fe

Browse files
committed
Fix error in test failure reporting
1 parent 18a261e commit 5f083fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/t_ldapobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def test004_enotconn(self):
465465
info = ldap_err.args[0]['info']
466466
expected_info = os.strerror(errno.ENOTCONN)
467467
if info != expected_info:
468-
self.fail("expected info=%r, got %d" % (expected_info, info))
468+
self.fail("expected info=%r, got %r" % (expected_info, info))
469469
else:
470470
self.fail("expected SERVER_DOWN, got %r" % r)
471471

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy