diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2018-03-01 15:42:11 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-03-13 12:21:26 +0000 |
commit | 460189f9d50576095be0bcd924d990285a8d5834 (patch) | |
tree | 732b42ffb7eeb22f3a7c04325b2f08e0aa0c5b4f /tests/test_ssl.py | |
parent | f8f3969ed6467e5dd9f7c6d4e33dee49f4a00d9f (diff) | |
download | m2crypto-460189f9d50576095be0bcd924d990285a8d5834.tar.gz |
Replace all old-style classes with the new ones
Diffstat (limited to 'tests/test_ssl.py')
-rw-r--r-- | tests/test_ssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 393765b..3140b33 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -77,7 +77,7 @@ def verify_cb_new_function(ok, store): return 1 -class VerifyCB: +class VerifyCB(object): def __call__(self, ok, store): return verify_cb_new_function(ok, store) @@ -1108,7 +1108,7 @@ class TwistedSSLClientTestCase(BaseSSLClientTestCase): pid = self.start_server(self.args) - class ContextFactory: + class ContextFactory(object): def getContext(self): return SSL.Context() |