code: def test_awaitables_chain(self):
      observed_depth = self.loop.run_until_complete(
          awaitable_chain(100)
      )
      self.assertEqual(observed_depth, 100)
      self.assertEqual(self.counter.get(), 0 if self.eager else 1)
  
imports: import asyncio
  import contextvars
  import unittest
  from unittest import mock
  from asyncio import tasks
  from test.test_asyncio import utils
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 2 for calling the BaseTaskCountingTests obj's underlying member method code with example usage: obj.test_awaitables_chain() without return types