code: def test_write_read_video(self):
      with temp_video(10, 300, 300, 5, lossless=True) as (f_name, data):
          lv, _, info = io.read_video(f_name)
          assert_equal(data, lv)
          assert info["video_fps"] == 5
  
imports: import contextlib
  import os
  import sys
  import tempfile
  import pytest
  import torch
  import torchvision.io
  from common_utils import assert_equal
  from torchvision import get_video_backend
label_desc: Use image node_id 1 for calling the TestVideo obj's underlying member method code with example usage: obj.test_write_read_video() without return types