From: Ben Darnell Date: Thu, 11 Jul 2024 15:39:10 +0000 (-0400) Subject: test: Fix names of test cases added in #3405 X-Git-Tag: v6.5.0b1~41^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6b904636ab2d32e1c15caf3bd82be911d6880c4;p=thirdparty%2Ftornado.git test: Fix names of test cases added in #3405 Oops, these tests were named backwards. --- diff --git a/tornado/test/httpserver_test.py b/tornado/test/httpserver_test.py index 2112be66..330140b2 100644 --- a/tornado/test/httpserver_test.py +++ b/tornado/test/httpserver_test.py @@ -868,8 +868,7 @@ class UnixSocketTest(AsyncTestCase): not hasattr(socket, "AF_UNIX") or sys.platform == "cygwin", "unix sockets not supported on this platform", ) -class UnixSocketTestAbstract(UnixSocketTest): - +class UnixSocketTestFile(UnixSocketTest): def setUp(self): self.tmpdir = tempfile.mkdtemp() self.address = os.path.join(self.tmpdir, "test.sock") @@ -884,8 +883,7 @@ class UnixSocketTestAbstract(UnixSocketTest): not (hasattr(socket, "AF_UNIX") and sys.platform.startswith("linux")), "abstract namespace unix sockets not supported on this platform", ) -class UnixSocketTestFile(UnixSocketTest): - +class UnixSocketTestAbstract(UnixSocketTest): def setUp(self): self.address = "\0" + uuid.uuid4().hex super().setUp()