Check functions now can only return serializable data, and 'ex' and 'got' weren't used later anyway.

This commit is contained in:
Ned Batchelder
2013-02-21 14:36:14 -05:00
parent 070f184ee0
commit 9dbfca129c

View File

@@ -324,4 +324,5 @@ def symmath_check(expect, ans, dynamath=None, options=None, debug=None, xml=None
msg += "<p>Difference: %s</p>" % to_latex(diff)
msg += '<hr>'
return {'ok': False, 'msg': msg, 'ex': fexpect, 'got': fsym}
# Used to return more keys: 'ex': fexpect, 'got': fsym
return {'ok': False, 'msg': msg}