summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-03-07 04:09:30 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-03-07 04:09:30 (GMT)
commit4e6294921726bd2c4197c012fd5cbc3905ba7560 (patch)
treeff3db93a5251c0a4d26f144b3bf615077ff391af /Lib/test/test_urllib2.py
parent6b31fd0f13f5730b5a9b70be91a0edba3781e194 (diff)
downloadcpython-4e6294921726bd2c4197c012fd5cbc3905ba7560.zip
cpython-4e6294921726bd2c4197c012fd5cbc3905ba7560.tar.gz
cpython-4e6294921726bd2c4197c012fd5cbc3905ba7560.tar.bz2
Reverting the change made in r78431.
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r--Lib/test/test_urllib2.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index ef59cfa..c0366dd 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -1209,7 +1209,6 @@ class RequestTests(unittest.TestCase):
self.get.add_data("spam")
self.assertTrue(self.get.has_data())
self.assertEqual("POST", self.get.get_method())
- self.assertRaises(TypeError,self.get.add_data, "more spam")
def test_get_full_url(self):
self.assertEqual("http://www.python.org/~jeremy/",