docstr: Return true iff floats x and y "are close".
docstr_tok: ["Return","true","iff","floats","x","and","y","``","are","close","''","."]
code: def assertCloseAbs(self, x, y, eps=1e-9):
      """Return true iff floats x and y "are close"."""
      # put the one with larger magnitude second
      if abs(x) > abs(y):
          x, y = y, x
      if y == 0:
          return abs(x) < eps
      if x == 0:
          return abs(y) < eps
      # check that relative difference < eps
      self.assertTrue(abs((x - y) / y) < eps)
  
imports: import unittest
  import sys
  from test import support
  from test.test_grammar import VALID_UNDERSCORE_LITERALS, INVALID_UNDERSCORE_LITERALS
  from random import random
  from math import atan2, isnan, copysign
  import operator
label_desc: Use image node_id 2 for calling the ComplexTest obj's underlying member method code with example usage: obj.assertCloseAbs(x, y, eps) and returns: unknown, unknown