# HG changeset patch # User Philippe Pepiot # Date 1582669832 -3600 # Node ID 4ebfdf607b49ac831ba171d45fe0064b55826aa6 # Parent 5c35b94debfc980961243d24887dfc176d2892a8 [ldapfeed] re-enable ldap tests for python 3.7 This was disabled because ldap3<2 wasn't compatible with python 3.7 While I'm here, drop unseless newline. diff -r 5c35b94debfc -r 4ebfdf607b49 cubicweb/server/test/unittest_ldapsource.py --- a/cubicweb/server/test/unittest_ldapsource.py Tue Feb 25 23:22:58 2020 +0100 +++ b/cubicweb/server/test/unittest_ldapsource.py Tue Feb 25 23:30:32 2020 +0100 @@ -148,12 +148,8 @@ @classmethod def pre_setup_database(cls, cnx, config): - if sys.version_info[:2] >= (3, 7): - raise unittest.SkipTest( - 'ldapfeed is not currently compatible with Python 3.7') cnx.create_entity('CWSource', name=u'ldap', type=u'ldapfeed', parser=u'ldapfeed', url=URL, config=CONFIG_LDAPFEED) - cnx.commit() return cls.pull(cnx)