tests: Use system-specific ENOTCONN value · python-ldap/python-ldap@97379aa · GitHub
Skip to content

Commit 97379aa

Browse files
committed
tests: Use system-specific ENOTCONN value
The integer values for `errno` are not standard and can vary from platform to platform, so the tests should rely on the constants provided in `errno` module. Closes: #228
1 parent e8cc39d commit 97379aa

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

Tests/t_cext.py

Lines changed: 6 additions & 4 deletions

Tests/t_ldapobject.py

Lines changed: 9 additions & 6 deletions

0 commit comments

Comments
 (0)