Skip to content

Commit

Permalink
Fix error in test failure reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondřej Kuzník committed May 18, 2020
1 parent 18a261e commit 5f083fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/t_ldapobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def test004_enotconn(self):
info = ldap_err.args[0]['info']
expected_info = os.strerror(errno.ENOTCONN)
if info != expected_info:
self.fail("expected info=%r, got %d" % (expected_info, info))
self.fail("expected info=%r, got %r" % (expected_info, info))
else:
self.fail("expected SERVER_DOWN, got %r" % r)

Expand Down

0 comments on commit 5f083fe

Please sign in to comment.