Skip to content

Commit

Permalink
Remove unittest.makeSuite, gone from Python 3.13
Browse files Browse the repository at this point in the history
See https://docs.python.org/3.13/whatsnew/3.13.html

"""
Removed the following unittest functions, deprecated in Python 3.11:

    unittest.findTestCases()
    unittest.makeSuite()
    unittest.getTestCaseNames()
"""

The removed call does not seem to have any effect when the file is executed
directly, run trough unittest discover or pytest.
  • Loading branch information
hroncok committed Oct 23, 2023
1 parent 0ade1d1 commit a443129
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_invalid_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,3 @@ def test_invalid_binary(self):

if __name__ == '__main__':
unittest.main()

suite = unittest.makeSuite(InvalidBinaryChars,'test')

0 comments on commit a443129

Please sign in to comment.