code: def test_husl_palette(self):
      pal1 = palettes.husl_palette()
      pal2 = palettes.color_palette("husl")
      npt.assert_array_equal(pal1, pal2)
  
      cmap1 = palettes.husl_palette(as_cmap=True)
      cmap2 = palettes.color_palette("husl", as_cmap=True)
      npt.assert_array_equal(cmap1([0.2, 0.8]), cmap2([0.2, 0.8]))
  
imports: import colorsys
  import numpy
  import matplotlib
  import pytest
  import numpy.testing
  from seaborn import palettes, utils, rcmod
  from seaborn.external import husl
  from seaborn._compat import get_colormap
  from seaborn.colors import xkcd_rgb, crayons
label_desc: Use image node_id 7 for calling the TestColorPalettes obj's underlying member method code with example usage: obj.test_husl_palette() without return types