Skip to content

Commit

Permalink
Py3.13 test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Jan 10, 2024
1 parent ae09db5 commit e553469
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test_fractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1624,11 +1624,11 @@ def compare(q, nom, denom):

def test_main():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(GcdTest))
suite.addTest(unittest.makeSuite(FractionTest))
suite.addTest(unittest.makeSuite(QuicktionsTest))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(GcdTest))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(FractionTest))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(QuicktionsTest))
if not AVOID_SLOW:
suite.addTest(unittest.makeSuite(FuzzerTest))
suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(FuzzerTest))
import doctest
suite.addTest(doctest.DocTestSuite('quicktions'))
return suite
Expand Down

0 comments on commit e553469

Please sign in to comment.