diff options
Diffstat (limited to 'python/tests/connection.py')
-rw-r--r-- | python/tests/connection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/connection.py b/python/tests/connection.py index d340e4e9c1..8c00df56e1 100644 --- a/python/tests/connection.py +++ b/python/tests/connection.py @@ -91,11 +91,11 @@ class ConnectionTest(TestCase): def tearDown(self): self.running = False - connect("0.0.0.0", PORT).close() + connect("127.0.0.1", PORT).close() self.server.join(3) def connect(self, **kwargs): - return Connection(connect("0.0.0.0", PORT), **kwargs) + return Connection(connect("127.0.0.1", PORT), **kwargs) def test(self): c = self.connect() |