code: def test_polycompanion_nocommon_types(self):
      for xp in (numpy, cupy):
          a = testing.shaped_random((5,), xp, dtype=bool)
          with pytest.raises(Exception):
              xp.polynomial.polynomial.polycompanion(a)
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 19 for calling the TestPolynomial obj's underlying member method code with example usage: obj.test_polycompanion_nocommon_types() without return types