class_docstr: Unit test for the distances computed in this script.
class_docstr_tok: ["Unit","test","for","the","distances","computed","in","this","script","."]
code: def test_local_manhattan(self):
      self.assertAlmostEqual(manhattan(self.a, self.a), 0)
  
      ans = 0.5 + (1.0 - 0.7) + (0.1) + (0.5)
      self.assertAlmostEqual(manhattan(self.a, self.b), ans)
  
      ans = (0.5) + (0.7)
      self.assertAlmostEqual(manhattan(self.a, {}), ans)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import copy
  import unittest
  import numpy
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from collections import Counter
  import sys
label_desc: Use image node_id 8 for calling the LocalDistancesTest obj's underlying member method code with example usage: obj.test_local_manhattan() without return types