def assertSameType(a, b):
if not isinstance(b, type(a)):<EOL><INDENT>raise NotImplementedError("<STR_LIT>""<STR_LIT>".<EOL>format(type(a), type(b)))<EOL><DEDENT>
Raises an exception if @b is not an instance of type(@a)