code: def test_alpha_beta_rc():
      assert Version("1.8.0rc1") == Version("1.8.0rc1")
      for ver in ["1.8.0", "1.8.0rc2"]:
          assert Version("1.8.0rc1") < Version(ver)
  
      for ver in ["1.8.0a2", "1.8.0b3", "1.7.2rc4"]:
          assert Version("1.8.0rc1") > Version(ver)
  
      assert Version("1.8.0b1") > Version("1.8.0a2")
  
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 3 for calling a global function with example usage: test_alpha_beta_rc() without return types