def test_eu(self): for args, result in test_eu_patterns: pattern = rhythm.eu(*args) self.assertEqual(pattern, result)