summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_descr.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-30 05:45:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-30 05:45:26 (GMT)
commit9e6a399b144fe1724bfcb4394d9355ac6998c029 (patch)
tree6c44f658f19bcf74701a5d35c59952f0a048720e /Lib/test/test_descr.py
parentfe677e2012138d67920d886618900596de2ef85c (diff)
downloadcpython-9e6a399b144fe1724bfcb4394d9355ac6998c029.zip
cpython-9e6a399b144fe1724bfcb4394d9355ac6998c029.tar.gz
cpython-9e6a399b144fe1724bfcb4394d9355ac6998c029.tar.bz2
To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis).
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r--Lib/test/test_descr.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 889c2c9..4fd11a5 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -355,6 +355,10 @@ def test_dir():
except TypeError:
pass
+ # Two essentially featureless objects, just inheriting stuff from
+ # object.
+ vereq(dir(None), dir(Ellipsis))
+
binops = {
'add': '+',
'sub': '-',