code: def test_primitive_measure_str(self):
      self.assertEqual(str(datashape.int8), "int8")
      self.assertEqual(str(datashape.int16), "int16")
      self.assertEqual(str(datashape.int32), "int32")
      self.assertEqual(str(datashape.int64), "int64")
      self.assertEqual(str(datashape.uint8), "uint8")
      self.assertEqual(str(datashape.uint16), "uint16")
      self.assertEqual(str(datashape.uint32), "uint32")
      self.assertEqual(str(datashape.uint64), "uint64")
      self.assertEqual(str(datashape.float32), "float32")
      self.assertEqual(str(datashape.float64), "float64")
      self.assertEqual(str(datashape.string), "string")
      self.assertEqual(str(datashape.String(3)), "string[3]")
      self.assertEqual(str(datashape.String("A")), "string['A']")
  
file_path: datashader/datashader/datashape/tests/test_str.py
imports: import unittest
  import pytest
  from datashader import datashape
  from datashader.datashape import dshape, DataShapeSyntaxError
label_desc: Use image node_id 1 for calling the TestDataShapeStr obj's underlying member method code with example usage: obj.test_primitive_measure_str() without return types