class_docstr: A 'pollable' wrapper allowing analysis of the `poll()` calls.
class_docstr_tok: ["A","'pollable","'","wrapper","allowing","analysis","of","the","`","poll","(",")","`","calls","."]
code: def __init__(self, pollable):
      self.pollable = pollable
      self.polls = []
  
imports: import gc
  import time
  import unittest
  import warnings
  import psycopg2
  import psycopg2.errors
  from psycopg2 import extensions
  from .testutils import ConnectingTestCase, StringIO, skip_before_postgres, skip_if_crdb, crdb_version, slow
label_desc: Use image node_id 1 to create a new PollableStub object  with example: obj = PollableStub(pollable)