mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SF bug 558179.
Change default for get() back to None. Will backport to 2.2.1.
This commit is contained in:
parent
84fca948c8
commit
d842e07470
3 changed files with 2 additions and 9 deletions
|
@ -18,7 +18,7 @@ class MessageTestCase(unittest.TestCase):
|
|||
'To: "last, first" <userid@foo.net>\n\ntest\n')
|
||||
self.assert_(msg.get("to") == '"last, first" <userid@foo.net>')
|
||||
self.assert_(msg.get("TO") == '"last, first" <userid@foo.net>')
|
||||
self.assert_(msg.get("No-Such-Header") == "")
|
||||
self.assert_(msg.get("No-Such-Header") is None)
|
||||
self.assert_(msg.get("No-Such-Header", "No-Such-Value")
|
||||
== "No-Such-Value")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue