code: def t_est_trim1(self):
      a = np.arange(11)
      assert_equal(trim1(a, 0.1), np.arange(10))
      assert_equal(trim1(a, 0.2), np.arange(9))
      assert_equal(trim1(a, 0.2, tail="left"), np.arange(2, 11))
      assert_equal(trim1(a, 3 / 11.0, tail="left"), np.arange(3, 11))
  
imports: import numpy
  from numpy.testing import assert_equal, assert_allclose, assert_raises
  import pytest
  from statsmodels.stats.robust_compare import TrimmedMean, trim_mean, trimboth
  import statsmodels.stats.oneway
  from statsmodels.tools.testing import Holder
  from scipy.stats import trim1
label_desc: Use image node_id 1 for calling the Test_Trim obj's underlying member method code with example usage: obj.t_est_trim1() without return types