Fix test: readline() now returns bytes
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
index 675184b..ebd9d2d 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -54,8 +54,8 @@
# Test both readline and readlines.
open_url = urllib.urlopen("http://www.python.org/")
try:
- self.assert_(isinstance(open_url.readline(), basestring),
- "readline did not return a string")
+ self.assert_(isinstance(open_url.readline(), bytes),
+ "readline did not return bytes")
self.assert_(isinstance(open_url.readlines(), list),
"readlines did not return a list")
finally: