def test_Image_in_globals(self): s = Context().run_code("repr(Image)")['result']['value'] assert s.startswith("<class stdlib.Image at ")
def test_Video_in_globals(self): s = Context().run_code("repr(Video)")['result']['value'] assert s.startswith("<class stdlib.Video at ")
def test_reset_keeps_Video(self): c = Context() c.reset() s = Context().run_code("repr(Video)")['result']['value'] assert s.startswith("<class stdlib.Video at ")