Commit b551eda9 authored by Marten Kenbeek's avatar Marten Kenbeek Committed by Tim Graham
Browse files

Refs #26011 -- Fixed AttributeError in test_port_bind test.

parent e8c34bb8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ class LiveServerPort(LiveServerBase):
        try:
            TestCase.setUpClass()
        except socket.error as e:
            if e.ernrno == errno.EADDRINUSE:
            if e.errno == errno.EADDRINUSE:
                # We're out of ports, LiveServerTestCase correctly fails with
                # a socket error.
                return