From 9e6a399b144fe1724bfcb4394d9355ac6998c029 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 30 Oct 2001 05:45:26 +0000 Subject: [PATCH] To cover a recent checkin, added a test to ensure dir(None) == dir(Ellipsis). --- Lib/test/test_descr.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 889c2c97fb..4fd11a5c0c 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': '-', -- 2.50.1