def is_greater_than(self, other):
self._validate_compareable(other)<EOL>if self.val <= other:<EOL><INDENT>if type(self.val) is datetime.datetime:<EOL><INDENT>self._err('<STR_LIT>' % (self.val.strftime('<STR_LIT>'), other.strftime('<STR_LIT>')))<EOL><DEDENT>else:<EOL><INDENT>self._err('<STR_LIT>' % (self.val, other))<EOL><DEDENT><DEDENT>return self<EOL>
Asserts that val is numeric and is greater than other.