def test_timebase_attribute_is_not_a_str(self):
        r = Rate(timebase='12')
        with self.assertRaises(TypeError) as cm:
            r.timebase = 15

        self.assertEqual(
            cm.exception.message,
            'Rate.timebase should be a str, not int'
        )
testing if a TypeError will be raised when the timebase attribute is
dataset/ETHPy150Open eoyilmaz/anima/tests/previs/test_rate.py/RateTestCase.test_timebase_attribute_is_not_a_str