Skip to content

Commit 327648f

Browse files
committed
this doesn't test anything meaningful
1 parent 5546b94 commit 327648f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Lib/test/test_pyrepl/test_fancycompleter.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,6 @@ def test_complete_global_colored_exception(self):
128128
' '
129129
])
130130

131-
def test_color_for_obj(self):
132-
class Config(ColorConfig):
133-
color_by_type = {}
134-
135-
compl = Completer({}, Config)
136-
self.assertEqual(compl.color_for_obj(1, "foo", "bar"),
137-
"\x1b[001;00m\x1b[00mfoo\x1b[00m")
138-
139131
def test_complete_with_indexer(self):
140132
compl = Completer({'lst': [None, 2, 3]}, ConfigForTest)
141133
self.assertEqual(compl.attr_matches('lst[0].'), ['lst[0].__'])

0 commit comments

Comments
 (0)