code: def update_expect(self):
      self._check_results()
      self.results.expect_results = self.expect(self)
      self.results.passed = Expect.aggregate(
          self.results.expect_results, self.agg_fn
      )
  
imports: from abc import ABC, abstractmethod
  import dill
  from munch import Munch
  import numpy
  import inspect
  from .expect import iter_with_optional, Expect
  from .viewer.test_summarizer import TestSummarizer
label_desc: Use image node_id 7 for calling the AbstractTest obj's underlying member method code with example usage: obj.update_expect() without return types