code: def test_ColorMap_getColors(color_list):
      cm = pg.ColorMap(pos, color_list, name="from QColors")
  
      colors = cm.getColors()
      assert (colors == int_tuples).all()
  
      colors = cm.getColors("byte")
      assert (colors == int_tuples).all()
  
      colors = cm.getColors("float")
      assert (colors == float_tuples).all()
  
      colors = cm.getColors("qcolor")
      for actual, good in zip(colors, qcols):
          assert actual.getRgbF() == good.getRgbF()
  
file_path: pyqtgraph/tests/test_colormap.py
imports: import pytest
  import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtGui
label_desc: Use image node_id 2 for calling a global function with example usage: test_ColorMap_getColors(color_list) without return types