summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-05-23 21:11:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-05-23 21:11:05 (GMT)
commit8de87a640339165ad5448f468f98fce7819fe99d (patch)
tree03cb2758a0ace65fc9d527ed567a40cbdcaa3c14 /Lib
parent4ef33dc381607937ac9e0a5984a1ec22f238c6ed (diff)
downloadcpython-8de87a640339165ad5448f468f98fce7819fe99d.zip
cpython-8de87a640339165ad5448f468f98fce7819fe99d.tar.gz
cpython-8de87a640339165ad5448f468f98fce7819fe99d.tar.bz2
correctly lookup __dir__
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_descr.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 1fe0de5..dc18f33 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -1718,6 +1718,7 @@ order (MRO) for bases """
("__exit__", run_context, swallow, set(), {"__enter__" : iden}),
("__complex__", complex, complex_num, set(), {}),
("__format__", format, format_impl, set(), {}),
+ ("__dir__", dir, empty_seq, set(), {}),
]
class Checker(object):