From: =?utf-8?q?Miro_Hron=C4=8Dok?= Date: Mon, 23 Oct 2023 15:18:02 +0200 Subject: Remove unittest.makeSuite, gone from Python 3.13 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 through unittest discover or pytest. Origin: upstream, https://github.com/pexpect/ptyprocess/pull/75 Bug-Debian: https://bugs.debian.org/1082145 Last-Update: 2024-11-03 --- tests/test_invalid_binary.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_invalid_binary.py b/tests/test_invalid_binary.py index cf28098..545f9f7 100755 --- a/tests/test_invalid_binary.py +++ b/tests/test_invalid_binary.py @@ -69,6 +69,3 @@ class InvalidBinaryChars(unittest.TestCase): if __name__ == '__main__': unittest.main() - -suite = unittest.makeSuite(InvalidBinaryChars,'test') -