diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-05-30 01:30:02 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-05-30 00:30:02 -0500 |
commit | af1b58c24320efb78bee80a541c8f703f99696a2 (patch) | |
tree | 9a24ab00ce48df05b5bfb86543d070028ef92261 /tests/hazmat/backends/test_openssl.py | |
parent | cb0fa2e323fde10d5fa61bcc32d87a567690e34a (diff) | |
download | cryptography-af1b58c24320efb78bee80a541c8f703f99696a2.tar.gz cryptography-af1b58c24320efb78bee80a541c8f703f99696a2.tar.bz2 cryptography-af1b58c24320efb78bee80a541c8f703f99696a2.zip |
Use teardown since we ignore the method arg anyways (#2928)
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index a24f8ecd..2d09787b 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -208,7 +208,6 @@ class TestOpenSSL(object): class TestOpenSSLRandomEngine(object): - def setup(self): # The default RAND engine is global and shared between # tests. We make sure that the default engine is osrandom @@ -218,7 +217,7 @@ class TestOpenSSLRandomEngine(object): name = backend._lib.ENGINE_get_name(current_default) assert name == backend._binding._osrandom_engine_name - def teardown_method(self, method): + def teardown(self): # we need to reset state to being default. backend is a shared global # for all these tests. backend.activate_osrandom_engine() |