code: def test_save_to_Path():
      model = Workspace(quiet=True)
      model.learn("1 | a b c")
      model.save(Path("tmp1.model"))
      model.save("tmp2.model")
      assert filecmp.cmp("tmp1.model", "tmp2.model")
      os.remove("tmp1.model")
      os.remove("tmp2.model")
  
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 19 for calling a global function with example usage: test_save_to_Path() without return types