Revert "Fix instance method call in test/framework.py"

No match.