File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 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
2020with v0.8.2, although this has been deprecated since v0.9.
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments