code: def test_example_learn():
      vw_ex = Workspace(quiet=True)
      ex = vw_ex.example("1 |a two features |b more features here")
      ex.learn()
      assert ex.setup_done is True
      ex.unsetup_example()  # unsetup an example as it is already setup
      assert ex.setup_done is False
  
imports: import os
  from pathlib import Path
  import vowpalwabbit
  from vowpalwabbit import Workspace
  import pytest
  import warnings
  import filecmp
label_desc: Use image node_id 35 for calling a global function with example usage: test_example_learn() without return types