code: def slow(f):
      """Decorator to mark slow tests we may want to skip
  
      Note: in order to find slow tests you can run:
  
      make check 2>&1 | ts -i "%.s" | sort -n
      """
  
      @wraps(f)
      def slow_(self):
          if os.environ.get("PSYCOPG2_TEST_FAST", "0") != "0":
              return self.skipTest("slow test")
          return f(self)
  
      return slow_
  
imports: import re
  import os
  import sys
  import types
  import ctypes
  import select
  import operator
  import platform
  import unittest
  from functools import wraps
  from ctypes.util import find_library
  from io import StringIO
  from io import TextIOBase
  from importlib import reload
  import psycopg2
  import psycopg2.errors
  import psycopg2.extensions
  from .testconfig import green, dsn, repl_dsn
label_desc: Use image node_id 19 for calling a global function with example usage: slow(f) and returns: slow_, f, self