code: def test_attr_forwarding_fails_before_construction(self):
      mod = deferred.Deferred(ExampleModule)
      with self.assertRaises(AttributeError):
          getattr(mod, "foo")
  
imports: from sonnet.src import base
  from sonnet.src import deferred
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 3 for calling the DeferredTest obj's underlying member method code with example usage: obj.test_attr_forwarding_fails_before_construction() without return types