code: def test_putmask_scalar_values(self, xp):
      shape = (2, 3)
      a = testing.shaped_arange(shape, xp)
      xp.putmask(a, a > 1, 30)
      return a
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestPutmask obj's underlying member method code with example usage: obj.test_putmask_scalar_values(xp) and returns: a