code: def assertWithinRange(self, value, target, allowed_range):
      # asserts that value is within allowed_range of target
      self.assertEqual(
          max(abs(value - target), allowed_range), allowed_range
      )
  
file_path: turicreate/scenario-tests/common/base.py
imports: import unittest
  import six
label_desc: Use image node_id 4 for calling the TestCase obj's underlying member method code with example usage: obj.assertWithinRange(value, target, allowed_range) without return types