actually start checking if the integration tests are instances on both sides of the comparison. This wasnt necessary for just autocompletion, but it's way more important now.

This commit is contained in:
Dave Halter committed 2014-07-31 14:58:32 +02:00
1 parent d899f69686
commit 50fa3a732d
4 files changed
+28 -19

No files matched your search

+3
View File
@@ -77,6 +77,9 @@ class CompiledObject(Base):
return _parse_function_doc(self.doc)
def type(self):
if fake.is_class_instance(self.obj):
return 'instance'
cls = self._cls().obj
if inspect.isclass(cls):
return 'class'