code: def test_ops_on_closed_reader_raise(self):
      with self.samples_reader:
          pass
      # At this point the reader is closed.
      with self.assertRaisesRegexp(
          ValueError, "Cannot Iterate a closed"
      ):
          self.samples_reader.iterate()
      with self.assertRaisesRegexp(ValueError, "Cannot Query a closed"):
          self.samples_reader.query(
              ranges.parse_literal("chr1:10,000,000-10,000,100")
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from third_party.nucleus.io.python import vcf_reader
  from third_party.nucleus.protos import reference_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import ranges
label_desc: Use image node_id 11 for calling the WrapVcfReaderTests obj's underlying member method code with example usage: obj.test_ops_on_closed_reader_raise() without return types