File skip-missing-LDAP-server.patch of Package python-ldap3
Index: ldap3-2.8/test/config.py
===================================================================
--- ldap3-2.8.orig/test/config.py
+++ ldap3-2.8/test/config.py
@@ -443,7 +443,7 @@ elif location.endswith('-NONE'):
test_logging_filename = 'ldap3-none.log'
test_valid_names = None
else:
- raise Exception('testing location ' + location + ' is not valid')
+ raise SkipTest('testing location ' + location + ' is not valid')
if test_logging:
try: