Skip to content

Commit

Permalink
Replace deprecated makeSuite with loadTestsFromTestCase (#1681)
Browse files Browse the repository at this point in the history
Removed with Python 3.13
  • Loading branch information
franzpoeschel authored Oct 10, 2024
1 parent 1bfe7b7 commit 703c219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/unittest/Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# Define the test suite.
def suite():
suites = [
unittest.makeSuite(APITest),
]
unittest.TestLoader().loadTestsFromTestCase(testCaseClass=APITest),
]

return unittest.TestSuite(suites)

Expand Down

0 comments on commit 703c219

Please sign in to comment.