Skip to content

Commit d291d7f

Browse files
auvipybrowniebroke
andauthored
Update tests/test_encoders.py
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
1 parent 8b3ae8f commit d291d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_encoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_encode_ipaddress_ipv4address(self):
8484
Tests encoding ipaddress IPv4Address object
8585
"""
8686
obj = ipaddress.IPv4Address("192.168.1.1")
87-
assert self.encoder.default(obj) == str(obj)
87+
assert self.encoder.default(obj) == "192.168.1.1"
8888

8989
def test_encode_ipaddress_ipv6address(self):
9090
"""

0 commit comments

Comments
 (0)