docstr: Checks that the dataset is not prematurely materialized.
docstr_tok: ["Checks","that","the","dataset","is","not","prematurely","materialized","."]
code: def testDeferred(self, test_size):
      """Checks that the dataset is not prematurely materialized."""
      num_counties = 3
      train_size = 20
      kwargs = _test_dataset(train_size, test_size, num_counties)
      del kwargs["num_counties"]
      self.validate_deferred_materialization(
          functools.partial(
              radon_contextual_effects.RadonContextualEffects,
              prior_scale=self.prior_scale,
              num_counties=num_counties,
          ),
          **kwargs,
      )
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from inference_gym.internal import test_util
  from inference_gym.targets import radon_contextual_effects
label_desc: Use image node_id 2 for calling the _RadonContextualEffectsTest obj's underlying member method code with example usage: obj.testDeferred(test_size) without return types