commit | 1b1a8e7cb514d95546af9dcfd42b83cea27182fa | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Mar 20 23:48:11 2012 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Mar 20 23:48:11 2012 -0400 |
tree | 6383cb08c77cf6f67762301b648ae9ab760cdf28 | |
parent | 9fc9bf465af96bf753217b0c370e4452882ecd86 [diff] [blame] |
correctly lookup __trunc__ in int() constructor
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 @@ ("__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(), {}), ]