Skip to content

Commit 5c3f994

Browse files
author
Sameera
committed
minor changes
1 parent 98e8ae1 commit 5c3f994

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/future/builtins/misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
- ``open`` (equivalent to io.open on Py2)
1414
- ``super`` (backport of Py3's magic zero-argument super() function
1515
- ``round`` (new "Banker's Rounding" behaviour from Py3)
16-
- ``max`` (new max behaviour from Py3)
17-
- ``min`` (new min behaviour from Py3)
16+
- ``max`` (new default option from Py3)
17+
- ``min`` (new default option from Py3)
1818
1919
``isinstance`` is also currently exported for backwards compatibility
2020
with v0.8.2, although this has been deprecated since v0.9.

tests/test_future/test_builtins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def test_round(self):
138138
self.assertEqual(round(0.125000001, 2), 0.13)
139139
self.assertEqual(round(123.5, 0), 124.0)
140140
self.assertEqual(round(123.5), 124)
141-
self.assertEqual(round(123.5), 124)
142141
self.assertEqual(round(12.35, 2), 12.35)
143142
self.assertEqual(round(12.35, 1), 12.3)
144143
self.assertEqual(round(12.35, 0), 12.0)

0 commit comments

Comments
 (0)