def test_version(self): res1 = platform.version() res2 = platform.version_tuple() self.assertEqual(res1, ".".join(res2))