| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -245,12 +245,12 @@ def test_att_matches_found_on_old_style_instance(self): | |||
| 245 | 245 | locals_={'a': OldStyleFoo()}), | |
| 246 | 246 | set(['a.method', 'a.a', 'a.b'])) | |
| 247 | 247 | self.assertIn(u'a.__dict__', | |
| 248 | - self.com.matches(3, 'a.__', locals_={'a': OldStyleFoo()})) | ||
| 248 | + self.com.matches(4, 'a.__', locals_={'a': OldStyleFoo()})) | ||
| 249 | 249 | ||
| 250 | 250 | @skip_old_style | |
| 251 | 251 | def test_att_matches_found_on_old_style_class_object(self): | |
| 252 | 252 | self.assertIn(u'A.__dict__', | |
| 253 | - self.com.matches(3, 'A.__', locals_={'A': OldStyleFoo})) | ||
| 253 | + self.com.matches(4, 'A.__', locals_={'A': OldStyleFoo})) | ||
| 254 | 254 | ||
| 255 | 255 | @skip_old_style | |
| 256 | 256 | def test_issue536(self): | |
@@ -260,7 +260,7 @@ def __getattr__(self, attr): | |||
| 260 | 260 | ||
| 261 | 261 | locals_ = {'a': OldStyleWithBrokenGetAttr()} | |
| 262 | 262 | self.assertIn(u'a.__module__', | |
| 263 | - self.com.matches(3, 'a.__', locals_=locals_)) | ||
| 263 | + self.com.matches(4, 'a.__', locals_=locals_)) | ||
| 264 | 264 | ||
| 265 | 265 | ||
| 266 | 266 | class TestMagicMethodCompletion(unittest.TestCase): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments