MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / test_vfr_position_is_timecode

Function test_vfr_position_is_timecode

tests/test_vfr.py:55–59  ·  view source on GitHub ↗

Position should be a Timecode-backed FrameTimecode.

(test_vfr_video: str)

Source from the content-addressed store, hash-verified

53
54
55def test_vfr_position_is_timecode(test_vfr_video: str):
56 """Position should be a Timecode-backed FrameTimecode."""
57 video = open_video(test_vfr_video, backend="pyav")
58 assert video.read() is not False
59 assert isinstance(video.position._time, Timecode)
60
61
62def test_vfr_position_monotonic_pyav(test_vfr_video: str):

Callers

nothing calls this directly

Calls 2

open_videoFunction · 0.90
readMethod · 0.45

Tested by

no test coverage detected