From: Tim Peters Date: Tue, 30 Oct 2001 05:45:26 +0000 (+0000) Subject: To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis). X-Git-Tag: v2.2.1c1~962 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e6a399b144fe1724bfcb4394d9355ac6998c029;p=thirdparty%2FPython%2Fcpython.git To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis). --- diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 889c2c97fbbb..4fd11a5c0cfe 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': '-',