aboutsummaryrefslogtreecommitdiffstats
path: root/test/tservers.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tservers.py')
-rw-r--r--test/tservers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tservers.py b/test/tservers.py
index 1f4ce725..c47d6a5f 100644
--- a/test/tservers.py
+++ b/test/tservers.py
@@ -26,7 +26,7 @@ class ServerTestBase(object):
addr = ("localhost", 0)
@classmethod
- def setupAll(cls):
+ def setup_class(cls):
cls.q = queue.Queue()
s = cls.makeserver()
cls.port = s.address.port
@@ -38,7 +38,7 @@ class ServerTestBase(object):
return TServer(cls.ssl, cls.q, cls.handler, cls.addr)
@classmethod
- def teardownAll(cls):
+ def teardown_class(cls):
cls.server.shutdown()
@property