code: def test_cntk_101_logisticregression_evalCorrect(nb):
      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(r"trainer\.test_minibatch", cell.source)
      ]
      assert len(testCell) == 1
      assert (
          testCell[0].outputs[0]["data"]["text/plain"]
          == expectedEvalError
      )
  
imports: import os
  import sys
  import pytest
  import re
label_desc: Use image node_id 2 for calling a global function with example usage: test_cntk_101_logisticregression_evalCorrect(nb) without return types