functools.partial
creates an object that behaves like a new function that mimics the old function with some arguments 'frozen'. So you have to actually call this new function to get the same output:
for x in functools.partial(TestClass().method, 10)():
print x