We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563f5cb commit 9f3460bCopy full SHA for 9f3460b
bpython/test/test_autocomplete.py
@@ -245,12 +245,12 @@ def test_att_matches_found_on_old_style_instance(self):
245
locals_={'a': OldStyleFoo()}),
246
set(['a.method', 'a.a', 'a.b']))
247
self.assertIn(u'a.__dict__',
248
- self.com.matches(3, 'a.__', locals_={'a': OldStyleFoo()}))
+ self.com.matches(4, 'a.__', locals_={'a': OldStyleFoo()}))
249
250
@skip_old_style
251
def test_att_matches_found_on_old_style_class_object(self):
252
self.assertIn(u'A.__dict__',
253
- self.com.matches(3, 'A.__', locals_={'A': OldStyleFoo}))
+ self.com.matches(4, 'A.__', locals_={'A': OldStyleFoo}))
254
255
256
def test_issue536(self):
@@ -260,7 +260,7 @@ def __getattr__(self, attr):
260
261
locals_ = {'a': OldStyleWithBrokenGetAttr()}
262
self.assertIn(u'a.__module__',
263
- self.com.matches(3, 'a.__', locals_=locals_))
+ self.com.matches(4, 'a.__', locals_=locals_))
264
265
266
class TestMagicMethodCompletion(unittest.TestCase):
0 commit comments