diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-07 02:58:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 02:58:18 +1000 |
commit | 52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d (patch) | |
tree | c146b5df538580374b1412454af34eb99faae4ec /tests/server.py | |
parent | Merge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count (diff) | |
download | synapse-52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d.tar.xz |
Port tests/ to Python 3 (#3808)
Diffstat (limited to 'tests/server.py')
-rw-r--r-- | tests/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py index 615bba1b59..a2c3ca61f6 100644 --- a/tests/server.py +++ b/tests/server.py @@ -65,7 +65,7 @@ class FakeChannel(object): def getPeer(self): # We give an address so that getClientIP returns a non null entry, # causing us to record the MAU - return address.IPv4Address(b"TCP", "127.0.0.1", 3423) + return address.IPv4Address("TCP", "127.0.0.1", 3423) def getHost(self): return None |