diff options
| author | Marten Kenbeek <marten.knbk@gmail.com> | 2016-01-02 16:25:53 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-02 11:03:24 -0500 |
| commit | b551eda9c5670e70b8f4bc7569e46fc617d87ff8 (patch) | |
| tree | af62f36e6109588d315cb08447b6cc2daec89b7d /tests | |
| parent | e8c34bb832e88a3dec8c5f3f687bbbf62afb857c (diff) | |
Refs #26011 -- Fixed AttributeError in test_port_bind test.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/servers/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/servers/tests.py b/tests/servers/tests.py index 18102ff509..39faba2023 100644 --- a/tests/servers/tests.py +++ b/tests/servers/tests.py @@ -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 |
