code: def test_ensightreader_timepoints():
      filename = examples.download_naca(load=False)
  
      reader = pv.get_reader(filename)
      assert reader.path == filename
  
      assert reader.number_time_points == 2
      assert reader.time_values == [1.0, 3.0]
      assert reader.time_point_value(0) == 1.0
      assert reader.time_point_value(1) == 3.0
  
      assert reader.active_time_value == 1.0
      mesh_1 = reader.read()
  
      reader.set_active_time_value(3.0)
      assert reader.active_time_value == 3.0
      mesh_3 = reader.read()
  
      # assert all the data is different
      for m_1, m_3 in zip(mesh_1, mesh_3):
          assert not all(m_1["DENS"] == m_3["DENS"])
  
      reader.set_active_time_point(0)
      assert reader.active_time_value == 1.0
  
      with pytest.raises(ValueError, match="Not a valid time"):
          reader.set_active_time_value(1000.0)
  
imports: import os
  import platform
  import numpy
  import pytest
  import pyvista
  from pyvista import examples
  from pyvista.core.utilities.fileio import _try_imageio_imread
  from pyvista.examples.downloads import download_file
label_desc: Use image node_id 11 for calling a global function with example usage: test_ensightreader_timepoints() without return types