code: def test_upsampling_1d_correctness_with_ones(self):
      self.assertAllClose(
          layers.UpSampling1D(size=3)(np.ones((2, 1, 5))),
          np.ones((2, 3, 5)),
      )
  
file_path: keras/keras/layers/reshaping/up_sampling1d_test.py
imports: import numpy
  import pytest
  from keras import layers
  from keras import testing
  from keras.backend.common.keras_tensor import KerasTensor
label_desc: Use image node_id 3 for calling the UpSamplingTest obj's underlying member method code with example usage: obj.test_upsampling_1d_correctness_with_ones() without return types