summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-03-07 04:12:02 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-03-07 04:12:02 (GMT)
commit57de4c45ff81e7bd75123d56129153a9d6711a8b (patch)
tree67765fae2c6325bb6634033c26c497679ee781fd /Lib/test/test_urllib2.py
parentff80b17b633096c63b5c18a3ee643c1fa3c53d48 (diff)
downloadcpython-57de4c45ff81e7bd75123d56129153a9d6711a8b.zip
cpython-57de4c45ff81e7bd75123d56129153a9d6711a8b.tar.gz
cpython-57de4c45ff81e7bd75123d56129153a9d6711a8b.tar.bz2
Reverting the changes made in r78433.
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 080c2f1..11848e0 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -1220,7 +1220,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/",