Skip to content

Commit 132e6c5

Browse files
committed
Tweak urllib test again
1 parent 05dfaf6 commit 132e6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

future/tests/test_standard_library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def test_urllib_request_http(self):
337337
URL = 'http://python-future.org'
338338
r = urllib_request.urlopen(URL)
339339
data = r.read()
340-
self.assertTrue(b'<html>' in data)
340+
self.assertTrue(b'</html>' in data)
341341

342342
def test_html_import(self):
343343
import html

0 commit comments

Comments
 (0)