code: def test_fields_with_dshape_names(self):
      # Should be able to name a field 'type', 'int64', etc
      ds = parse(
          """{
                  type: bool,
                  data: bool,
                  blob: bool,
                  bool: bool,
                  int: int32,
                  float: float32,
                  double: float64,
                  int8: int8,
                  int16: int16,
                  int32: int32,
                  int64: int64,
                  uint8: uint8,
                  uint16: uint16,
                  uint32: uint32,
                  uint64: uint64,
                  float16: float32,
                  float32: float32,
                  float64: float64,
                  float128: float64,
                  complex: float32,
                  complex64: float32,
                  complex128: float64,
                  string: string,
                  object: string,
                  datetime: string,
                  datetime64: string,
                  timedelta: string,
                  timedelta64: string,
                  json: string,
                  var: string,
              }""",
          self.sym,
      )
      self.assertEqual(type(ds[-1]), ct.Record)
      self.assertEqual(len(ds[-1].names), 30)
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  import pytest
  from datashader import datashape
  from datashader.datashape.util.testing import assert_dshape_equal
  from datashader.datashape.parser import parse
  from datashader.datashape import coretypes
  from datashader.datashape import DataShapeSyntaxError
label_desc: Use image node_id 3 for calling the TestDataShapeParseStruct obj's underlying member method code with example usage: obj.test_fields_with_dshape_names() without return types