diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-12-02 19:36:15 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2020-12-02 19:53:09 +0100 |
commit | 2ed7a360dcba129c27d1232ea561b05d5391ae4b (patch) | |
tree | b64f58d4174479bb71ed69a8b2d1b3ff1666802c /tests/test_ssl_win.py | |
parent | e64968e41383436c4be809b3c8706270734ca9d8 (diff) | |
download | m2crypto-2ed7a360dcba129c27d1232ea561b05d5391ae4b.tar.gz |
Mass removal of deprecated constructs.
* Replace unittest.makeSuite with unittest.TestLoader().loadTestsFromTestCase
* import unittest from relative import
Diffstat (limited to 'tests/test_ssl_win.py')
-rw-r--r-- | tests/test_ssl_win.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ssl_win.py b/tests/test_ssl_win.py index 0095263..edd50be 100644 --- a/tests/test_ssl_win.py +++ b/tests/test_ssl_win.py @@ -59,7 +59,7 @@ if win32process: win32process.TerminateProcess(hproc, 0) def suite(): - return unittest.makeSuite(SSLWinClientTestCase) + return unittest.TestLoader().loadTestsFromTestCase(SSLWinClientTestCase) def zap_servers(): pass |