Skip to content

Commit 8d366fd

Browse files
committed
Whitespace improvements
1 parent c5575bd commit 8d366fd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

geoip2/records.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,9 @@ def __new__(
552552
return obj
553553

554554
def __init__(
555-
self, locales: Optional[Sequence[str]], *subdivisions # pylint:disable=W0613
555+
self,
556+
locales: Optional[Sequence[str]],
557+
*subdivisions, # pylint:disable=W0613
556558
) -> None:
557559
self._locales = locales
558560
super().__init__()

tests/webservice_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def test_no_body_error(self):
165165
self.run_client(self.client.country("1.2.3.7"))
166166

167167
def test_weird_body_error(self):
168-
169168
self.httpserver.expect_request(
170169
"/geoip/v2.1/country/1.2.3.8", method="GET"
171170
).respond_with_json(
@@ -181,7 +180,6 @@ def test_weird_body_error(self):
181180
self.run_client(self.client.country("1.2.3.8"))
182181

183182
def test_bad_body_error(self):
184-
185183
self.httpserver.expect_request(
186184
"/geoip/v2.1/country/1.2.3.9", method="GET"
187185
).respond_with_data(
@@ -206,7 +204,6 @@ def test_500_error(self):
206204
self.run_client(self.client.country("1.2.3.10"))
207205

208206
def test_300_error(self):
209-
210207
self.httpserver.expect_request(
211208
"/geoip/v2.1/country/1.2.3.11", method="GET"
212209
).respond_with_data(

0 commit comments

Comments
 (0)