summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-03-04 15:15:37 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-03-04 15:15:37 (GMT)
commit7eda9e9082f9d0efcac61e7df0955f4263b3eea7 (patch)
tree47b35aefacb1a3f0453f044430280c3f1b35077a /Lib/test/test_urllib2.py
parent3c67d6ae545dca6b9b2bc933ddec774ad8e65292 (diff)
downloadcpython-7eda9e9082f9d0efcac61e7df0955f4263b3eea7.zip
cpython-7eda9e9082f9d0efcac61e7df0955f4263b3eea7.tar.gz
cpython-7eda9e9082f9d0efcac61e7df0955f4263b3eea7.tar.bz2
Reverting the changes made in r78432. Discussed in the tracker issue7540.
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 4ea6b26..c911c9d 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.assert_(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/",