This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients mark.dickinson, terry.reedy, xiang.zhang
Date 2016-08-19.17:32:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This can only happen because of a hole in the tests.  test_bool.BoolTest.test_math appears to test every binary int op, including bitwise, *except* %.

        self.assertIsNot(False/1, False)
        self.assertEqual(False%1, 0)
        self.assertIsNot(False%1, False)  # currently fails
        self.assertEqual(True%1, 1)
        self.assertIsNot(True%1, True)

test_int tests int() calls, not int math, so I don't know where the equivalent tests on int math with subclasses are or would go.
Date User Action Args
2016-08-19 17:32:38terry.reedysetrecipients: + terry.reedy, mark.dickinson, xiang.zhang
2016-08-19 17:32:38terry.reedysetmessageid: <>
2016-08-19 17:32:38terry.reedylinkissue27792 messages
2016-08-19 17:32:38terry.reedycreate