Message250254
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)) |
|
Date |
User |
Action |
Args |
2015-09-08 19:49:40 | anthon | set | recipients:
+ anthon, eric.smith |
2015-09-08 19:49:40 | anthon | set | messageid: <1441741780.11.0.204892079982.issue25034@psf.upfronthosting.co.za> |
2015-09-08 19:49:40 | anthon | link | issue25034 messages |
2015-09-08 19:49:39 | anthon | create | |
|