code: def test_scale():
      np_points = np.array([1, 2, 3], dtype=float)
      pset = pv.PointSet(np_points)
      pset.scale(2, inplace=True)
      assert np.allclose(pset.points, [2.0, 4.0, 6.0])
  
imports: import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.core.errors import PointSetCellOperationError, PointSetDimensionReductionError, PointSetNotSupported
label_desc: Use image node_id 12 for calling a global function with example usage: test_scale() without return types