Skip to content

Commit 267caa3

Browse files
committed
Fixed trailing whitespace
1 parent 814bc92 commit 267caa3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Lib/test/test_wsgiref.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def bad_app(e,s):
211211
self.assertEqual(
212212
err.splitlines()[-2], "AssertionError"
213213
)
214-
214+
215215
def test_wsgi_input_read(self):
216216
bad_app = input_app("read")
217217
good_app = input_app("read", 5)
@@ -227,7 +227,7 @@ def test_wsgi_input_read(self):
227227

228228
out, err = run_amock(validator(good_app), b"GET / HTTP/1.0\n\nTest 1\nTest 2\n")
229229
self.assertTrue(out.endswith(b"Test "))
230-
230+
231231
def test_wsgi_input_readlines(self):
232232
bad_app = input_app("readlines", 3, 5)
233233
good_app = input_app("readlines", 1)
@@ -241,12 +241,12 @@ def test_wsgi_input_readlines(self):
241241
)
242242
out, err = run_amock(validator(good_app), b"GET / HTTP/1.0\n\nTest Line 1\nTest Line 2\n")
243243
self.assertTrue(out.endswith(b"Test Line 1\n"))
244-
244+
245245
def test_wsgi_input_readline(self):
246246
bad_app = input_app("readline", 3, 4)
247247
good_app = input_app("readline", 2)
248248

249-
out, err = run_amock(validator(bad_app))
249+
out, err = run_amock(validator(bad_app))
250250
self.assertTrue(out.endswith(
251251
b"A server error occurred. Please contact the administrator."
252252
))
@@ -274,7 +274,7 @@ def app(e,s):
274274
out, err = run_amock(validator(app), b"GET / HTTP/1.0\n\nTest 1\nTest 2\n")
275275
self.assertTrue(out.endswith(b"Test 1\n;Test 2\n"))
276276

277-
def test_wsgi_errors_write(self):
277+
def test_wsgi_errors_write(self):
278278
bad_app = errors_app("write", b"Test")
279279
good_app = errors_app("write", "Test")
280280

0 commit comments

Comments
 (0)