Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: Lib/test/test_unicode.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_unicode_file.py ('k') | Lib/test/test_urllib2net.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_unicode.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/test/test_unicode.py Mon Jul 25 09:47:18 2011 -0400
@@ -736,11 +736,6 @@
self.assertRaises(TypeError, '{a'.format_map)
self.assertRaises(TypeError, '}a'.format_map)
- # issue #12579: can't supply positional params to format_map
- self.assertRaises(ValueError, '{}'.format_map, {'a' : 2})
- self.assertRaises(ValueError, '{}'.format_map, 'a')
- self.assertRaises(ValueError, '{a} {}'.format_map, {"a" : 2, "b" : 1})
-
def test_format_auto_numbering(self):
class C:
def __init__(self, x=100):
@@ -793,7 +788,6 @@
self.assertEqual('%c' % '\U00021483', '\U00021483')
self.assertRaises(TypeError, "%c".__mod__, "aa")
self.assertRaises(ValueError, "%.1\u1032f".__mod__, (1.0/3))
- self.assertRaises(TypeError, "%i".__mod__, "aa")
# formatting jobs delegated from the string implementation:
self.assertEqual('...%(foo)s...' % {'foo':"abc"}, '...abc...')
« no previous file with comments | « Lib/test/test_unicode_file.py ('k') | Lib/test/test_urllib2net.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+