commit | ccadf84a1bc1b7908f5dcefd6897f93e174c57b9 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Mar 31 18:54:53 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Mar 31 18:54:53 2006 +0000 |
tree | 6c0c0687136f478a428c3d3c0726827cb79bf36b | |
parent | 338ef7d2bd3c2ef507d7ef1edce42492dae28db0 [diff] |
Patch #1460496: round() now accepts keyword arguments.
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index a05babf..fa36095 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py
@@ -1395,6 +1395,9 @@ self.assertEqual(round(-8.0, -1), -10.0) + # test new kwargs + self.assertEqual(round(number=-8.0, ndigits=-1), -10.0) + self.assertRaises(TypeError, round) def test_setattr(self):