code: def test_cntk_106A_lstm_timeseries_with_simulated_data_evalCorrect(
      nb, device_id
  ):
      if os.getenv("OS") == "Windows_NT" and sys.version_info[0] == 2:
          pytest.skip(
              "tests with Python 2.7 on Windows are not stable in the CI environment. "
          )
      testCell = [
          cell
          for cell in nb.cells
          if cell.cell_type == "code"
          and re.search("# Print validate and test error", cell.source)
      ]
      assert len(testCell) == 1
      m = re.match(
          r"mse for test: (?P<actualEvalError>\d+\.\d+)\r?$",
          testCell[0].outputs[0]["text"],
      )
      assert _all_close_or_less(
          float(m.group("actualEvalError")),
          expectedEvalErrorByDeviceId[device_id],
          atol=0.000004,
      )
  
file_path: CNTK/Tests/EndToEndTests/CNTKv2Python/Tutorials/CNTK_106A_LSTM_Timeseries_with_Simulated_Data_test.py
imports: import os
  import sys
  import pytest
  import re
  import numpy
  from .None import _all_close_or_less
label_desc: Use image node_id 2 for calling a global function with example usage: test_cntk_106A_lstm_timeseries_with_simulated_data_evalCorrect(nb, device_id) without return types