code: def testWrapsPrimitives(self):
      self._assertWrapsAs(_INFINITY, "Infinity")
      self._assertWrapsAs(-_INFINITY, "-Infinity")
      self._assertWrapsAs(float("nan"), "NaN")
  
file_path: tensorboard/tensorboard/backend/json_util_test.py
imports: import collections
  import string
  from tensorboard import test
  from tensorboard.backend import json_util
label_desc: Use image node_id 2 for calling the CleanseTest obj's underlying member method code with example usage: obj.testWrapsPrimitives() without return types