code: def test_main_versions():
      assert Version("1.8.0") == Version("1.8.0")
      for ver in ["1.9.0", "2.0.0", "1.8.1"]:
          assert Version("1.8.0") < Version(ver)
  
      for ver in ["1.7.0", "1.7.1", "0.9.9"]:
          assert Version("1.8.0") > Version(ver)
  
file_path: scipy/scipy/_lib/tests/test__pep440.py
imports: from pytest import raises
  from scipy._lib._pep440 import Version, parse
label_desc: Use image node_id 1 for calling a global function with example usage: test_main_versions() without return types