docstr: Start listening for a name on self.conn.
docstr_tok: ["Start","listening","for","a","name","on","self.conn","."]
code: def listen(self, name):
      """Start listening for a name on self.conn."""
      curs = self.conn.cursor()
      curs.execute("LISTEN " + name)
      curs.close()
  
imports: import unittest
  from collections import deque
  import psycopg2
  from psycopg2 import extensions
  from psycopg2.extensions import Notify
  from .testutils import ConnectingTestCase, skip_if_crdb, slow
  from .testconfig import dsn
  import sys
  import time
  import select
  from subprocess import Popen, PIPE
label_desc: Use image node_id 2 for calling the NotifiesTests obj's underlying member method code with example usage: obj.listen(name) without return types