mirror of https://github.com/python/cpython
To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis).
This commit is contained in:
parent
fe677e2012
commit
9e6a399b14
|
@ -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': '-',
|
||||
|
|
Loading…
Reference in New Issue