def test_K(self):
        """
        The k number (so named from the original Kademlia paper) defines the
        maximum number of contacts stored in a k-bucket. This should be an even
        number.
        """
        self.assertIsInstance(constants.K, int,
                              "constants.K must be an integer.")
        self.assertEqual(0, 2 % constants.K)
dataset/ETHPy150Open ntoll/p4p2p/test/dht/test_constants.py/TestConstants.test_K/swapped operands of `%`