Case Van Horsen <[email protected]> added the comment: I've attached a patch that creates DummyRational and then tests comparisons between Fraction and DummyRational. The __eq__ method also verifies that the type of the other argument is fractions.Fraction.
---------- Added file: http://bugs.python.org/file14504/patch_test_fractions.py _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue6431> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
