+ '+'.join([base, badhint]))
+
+ def test_multiple_locator_hints_accepted(self):
+ base = next(self.base_locators(1))
+ for loc_hints in itertools.permutations(['Kab1cd', 'Kef2gh', 'Kij3kl']):
+ locator = '+'.join((base,) + loc_hints)
+ self.assertEqual(locator, str(KeepLocator(locator)))
+
+ def test_str_type(self):
+ base = next(self.base_locators(1))
+ locator = KeepLocator(base)
+ self.assertEqual(type(''), type(locator.__str__()))