def test_input_int(self): """test for input_int method """ r = Rectangle(1, 1) # check that input must be an integer with self.assertRaises(TypeError): r.input_int("5", "height")