summaryrefslogtreecommitdiff
path: root/tests/test_functional.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_functional.py')
-rw-r--r--tests/test_functional.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py
index f92faaf..add50f3 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -54,7 +54,7 @@ class FixtureTcpWSGIServer(server.TcpWSGIServer):
def __init__(self, application, queue, **kw): # pragma: no cover
# Coverage doesn't see this as it's ran in a separate process.
kw["port"] = 0 # Bind to any available port.
- super(FixtureTcpWSGIServer, self).__init__(application, **kw)
+ super().__init__(application, **kw)
host, port = self.socket.getsockname()
if os.name == "nt":
host = "127.0.0.1"
@@ -1512,7 +1512,7 @@ if hasattr(socket, "AF_UNIX"):
# Coverage doesn't see this as it's ran in a separate process.
# To permit parallel testing, use a PID-dependent socket.
kw["unix_socket"] = "/tmp/waitress.test-%d.sock" % os.getpid()
- super(FixtureUnixWSGIServer, self).__init__(application, **kw)
+ super().__init__(application, **kw)
queue.put(self.socket.getsockname())
class UnixTests(SubprocessTests):
@@ -1523,7 +1523,7 @@ if hasattr(socket, "AF_UNIX"):
return UnixHTTPConnection(self.bound_to)
def stop_subprocess(self):
- super(UnixTests, self).stop_subprocess()
+ super().stop_subprocess()
cleanup_unix_socket(self.bound_to)
def send_check_error(self, to_send):