diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-03-21 03:48:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-03-21 03:48:11 (GMT) |
commit | 1b1a8e7cb514d95546af9dcfd42b83cea27182fa (patch) | |
tree | 6383cb08c77cf6f67762301b648ae9ab760cdf28 /Lib/test/test_descr.py | |
parent | 9fc9bf465af96bf753217b0c370e4452882ecd86 (diff) | |
download | cpython-1b1a8e7cb514d95546af9dcfd42b83cea27182fa.zip cpython-1b1a8e7cb514d95546af9dcfd42b83cea27182fa.tar.gz cpython-1b1a8e7cb514d95546af9dcfd42b83cea27182fa.tar.bz2 |
correctly lookup __trunc__ in int() constructor
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 5759eff..3051e57 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1770,6 +1770,7 @@ order (MRO) for bases """ ("__format__", format, format_impl, set(), {}), ("__floor__", math.floor, zero, set(), {}), ("__trunc__", math.trunc, zero, set(), {}), + ("__trunc__", int, zero, set(), {}), ("__ceil__", math.ceil, zero, set(), {}), ("__dir__", dir, empty_seq, set(), {}), ] |