def METHOD_NAME(self):
    tv = TimeVector(datetime.date(1997, 11, 6), base_file=test_path("data/schedule/part1.sch"))
    with self.assertRaises(KeyError):
        tv.delete(datetime.datetime(2019,1,1))
    ts = tv[datetime.datetime(1997,11,14,0,0,0,1000)]
    self.assertTrue("WTEST" in ts)
    tv.delete(datetime.datetime(1997,11,14,0,0,0,1000))
    with self.assertRaises(KeyError):
        tv.delete(datetime.datetime(1997,11,14,0,0,0,1000))
    for ts in tv:
        self.assertFalse("WTEST" in ts)