Revert assertion on to_python
Merge pull request #3018 from edx/flowerhack/opaque

Revert assertion on to_python