code: def test_valid_version_string(self):
      # Verify that the pythran version is a valid one (note: excludes
      # .post suffix, and complies to PEP 440. Test taken from NumPy
      version_pattern = (
          r"^[0-9]+\.[0-9]+\.[0-9]+(|a[0-9]|b[0-9]|rc[0-9])"
      )
      dev_suffix = r"\.dev0\+[0-9]*\.g[0-9a-f]+"
  
      # For released versions:
      res1 = re.match(version_pattern, pythran.__version__)
      # For dev versions:
      res2 = re.match(version_pattern + dev_suffix, pythran.__version__)
  
      self.assertTrue(
          res1 is not None or res2 is not None, pythran.__version__
      )
  
imports: import re
  import pythran
  from pythran.tests import TestEnv
label_desc: Use image node_id 2 for calling the TestVersion obj's underlying member method code with example usage: obj.test_valid_version_string() without return types