~ubuntu-branches/ubuntu/natty/python3.1/natty-security

« back to all changes in this revision

Viewing changes to Lib/test/test_urllib2.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-21 17:27:57 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100321172757-v29qykjsa8u718lo
Tags: 3.1.2-0ubuntu1
* Python 3.1.2 release.
* Fix issue #4961: Inconsistent/wrong result of askyesno function in
  tkMessageBox with Tcl8.5. LP: #462950.
* Don't complain when /usr/local is not writable on installation.
* Apply proposed patch for issue #8032, gdb7 hooks for debugging.
* Backport issue #8140: Extend compileall to compile single files.
  Add -i option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1220
1220
        self.get.add_data("spam")
1221
1221
        self.assertTrue(self.get.has_data())
1222
1222
        self.assertEqual("POST", self.get.get_method())
1223
 
        self.assertRaises(TypeError,self.get.add_data, "more spam")
1224
1223
 
1225
1224
    def test_get_full_url(self):
1226
1225
        self.assertEqual("http://www.python.org/~jeremy/",