'Tests encoding a timezone aware timestamp'

def test_encode_time_tz(self):

    current_time = datetime.now().time()
    current_time = current_time.replace(tzinfo=utc)
    with pytest.raises(ValueError):
        self.encoder.default(current_time)
