diff --git a/Lib/test/test_functional.py b/Lib/test/test_functional.py index 8f19d6b2ae4..97e30c3f8ed 100644 --- a/Lib/test/test_functional.py +++ b/Lib/test/test_functional.py @@ -133,7 +133,13 @@ class TestPartial(unittest.TestCase): f = None self.assertRaises(ReferenceError, getattr, p, 'func') - + def test_with_bound_and_unbound_methods(self): + data = map(str, range(10)) + join = self.thetype(str.join, '') + self.assertEqual(join(data), '0123456789') + join = self.thetype(''.join) + self.assertEqual(join(data), '0123456789') + class PartialSubclass(functional.partial): pass