Skip to content

Commit 574f026

Browse files
committed
Fix typos
1 parent dedb92c commit 574f026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

geoip2/_internal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def to_dict(self):
4242
elif value is not None and value is not False:
4343
result[key] = value
4444

45-
# network and ip_address properties for performance reasons
45+
# network and ip_address are properties for performance reasons
4646
# pylint: disable=no-member
4747
if hasattr(self, "ip_address") and self.ip_address is not None:
4848
result["ip_address"] = str(self.ip_address)

tests/models_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def test_insights_min(self) -> None:
239239
self.assertEqual(
240240
type(model.subdivisions.most_specific),
241241
geoip2.records.Subdivision,
242-
"geoip2.records.Subdivision object returned evenwhen none are available.",
242+
"geoip2.records.Subdivision object returned even when none are available.",
243243
)
244244
self.assertEqual(
245245
model.subdivisions.most_specific.names, {}, "Empty names hash returned"

0 commit comments

Comments
 (0)