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 13
13
- ``open`` (equivalent to io.open on Py2)
14
14
- ``super`` (backport of Py3's magic zero-argument super() function
15
15
- ``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)
18
18
19
19
``isinstance`` is also currently exported for backwards compatibility
20
20
with 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):
138
138
self .assertEqual (round (0.125000001 , 2 ), 0.13 )
139
139
self .assertEqual (round (123.5 , 0 ), 124.0 )
140
140
self .assertEqual (round (123.5 ), 124 )
141
- self .assertEqual (round (123.5 ), 124 )
142
141
self .assertEqual (round (12.35 , 2 ), 12.35 )
143
142
self .assertEqual (round (12.35 , 1 ), 12.3 )
144
143
self .assertEqual (round (12.35 , 0 ), 12.0 )
You can’t perform that action at this time.
0 commit comments