To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis).

This commit is contained in:
Tim Peters 2001-10-30 05:45:26 +00:00
parent fe677e2012
commit 9e6a399b14
1 changed files with 4 additions and 0 deletions

View File

@ -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': '-',