zopefoundation / zope.index

Indices for using with catalog like text, field, etc.
Other
10 stars 12 forks source link

unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 #36

Closed tirkarthi closed 1 year ago

tirkarthi commented 2 years ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

Ref : python/cpython#28382

src/zope/index/text/tests/test_queryparser.py
422:        unittest.makeSuite(TestQueryParser),
423:        unittest.makeSuite(StopWordTestQueryParser),

src/zope/index/text/tests/test_queryengine.py
77:    return unittest.makeSuite(TestQueryEngine)

src/zope/index/text/tests/test_setops.py
257:        unittest.makeSuite(Test_mass_weightedIntersection),
258:        unittest.makeSuite(Test_mass_weightedUnion),

src/zope/index/text/tests/test_cosineindex.py
122:                      unittest.makeSuite(CosineIndexTest32),
123:                      unittest.makeSuite(CosineIndexTest64),

src/zope/index/keyword/tests.py
446:        unittest.makeSuite(KeywordIndexTests32),
447:        unittest.makeSuite(KeywordIndexTests64),
448:        unittest.makeSuite(CaseInsensitiveKeywordIndexTests32),
449:        unittest.makeSuite(CaseInsensitiveKeywordIndexTests64),

src/zope/index/topic/tests/test_filter.py
115:        unittest.makeSuite(FilteredSetBaseTests),
116:        unittest.makeSuite(PythonFilteredSetTests),

src/zope/index/field/tests.py
332:        unittest.makeSuite(FieldIndexTests),
icemac commented 1 year ago

Fixed in #41.