docstr: Test that _get_version formats __version_info__ as required by PEP 440.
docstr_tok: ["Test","that","_get_version","formats","__version_info__","as","required","by","PEP","440","."]
code: def test_get_version(self):
      """Test that _get_version formats __version_info__ as required by PEP 440."""
  
      self.assertEqual(_get_version((1, 1, 2, "dev", 0)), "1.1.2.dev0")
      self.assertEqual(_get_version((1, 1, 2, "alpha", 1)), "1.1.2a1")
      self.assertEqual(_get_version((1, 2, 0, "beta", 2)), "1.2b2")
      self.assertEqual(_get_version((1, 2, 0, "rc", 4)), "1.2rc4")
      self.assertEqual(_get_version((1, 2, 0, "final", 0)), "1.2")
  
imports: import unittest
  from markdown.__meta__ import _get_version, __version__
label_desc: Use image node_id 1 for calling the TestVersion obj's underlying member method code with example usage: obj.test_get_version() without return types