This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anthon
Recipients anthon, eric.smith
Date 2015-09-08.19:49:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441741780.11.0.204892079982.issue25034@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch for Python-3.5.0rc3/Lib/test/test_string.py unittests fail:


--- /opt/python/3.5/lib/python3.5/test/test_string.py	2015-09-08 17:06:07.099197904 +0200
+++ test_string.py	2015-09-08 21:47:01.471634309 +0200
@@ -58,6 +58,8 @@
                          'foo{1}{num}{1}'.format(None, 'bar', num=6))
         self.assertEqual(fmt.format('{:^{}}', 'bar', 6),
                          '{:^{}}'.format('bar', 6))
+        self.assertEqual(fmt.format('{:^{}} {}', 'bar', 6, 'X'),
+                         '{:^{}} {}'.format('bar', 6, 'X'))
         self.assertEqual(fmt.format('{:^{pad}}{}', 'foo', 'bar', pad=6),
                          '{:^{pad}}{}'.format('foo', 'bar', pad=6))
History
Date User Action Args
2015-09-08 19:49:40anthonsetrecipients: + anthon, eric.smith
2015-09-08 19:49:40anthonsetmessageid: <1441741780.11.0.204892079982.issue25034@psf.upfronthosting.co.za>
2015-09-08 19:49:40anthonlinkissue25034 messages
2015-09-08 19:49:39anthoncreate