code: def test_push_1():
      """[Parallel | Layer] Testing single push"""
      assert not layer.__stack__
  
      layer.push(g1)
  
      assert layer.stack[0] is g1
      assert layer.__stack__
  
      with open(os.devnull, "w") as f, redirect_stdout(f):
          run(layer, "fit", X, y)
          run(layer, "transform", X)
          run(layer, "predict", X)
      assert layer.__fitted__
  
file_path: mlens/mlens/parallel/tests/test_b4_layer_push_pop.py
imports: import os
  import numpy
  from mlens.index import INDEXERS
  from mlens.testing.dummy import Data, ECM
  from mlens.utils.dummy import Scale, LogisticRegression
  from mlens.parallel import make_group, Layer, run
  from mlens.externals.sklearn.base import clone
label_desc: Use image node_id 2 for calling a global function with example usage: test_push_1() without return types