Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jan 27, 2025
1 parent dedb92c commit 574f026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geoip2/_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def to_dict(self):
elif value is not None and value is not False:
result[key] = value

# network and ip_address properties for performance reasons
# network and ip_address are properties for performance reasons
# pylint: disable=no-member
if hasattr(self, "ip_address") and self.ip_address is not None:
result["ip_address"] = str(self.ip_address)
Expand Down
2 changes: 1 addition & 1 deletion tests/models_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def test_insights_min(self) -> None:
self.assertEqual(
type(model.subdivisions.most_specific),
geoip2.records.Subdivision,
"geoip2.records.Subdivision object returned evenwhen none are available.",
"geoip2.records.Subdivision object returned even when none are available.",
)
self.assertEqual(
model.subdivisions.most_specific.names, {}, "Empty names hash returned"
Expand Down

0 comments on commit 574f026

Please sign in to comment.