Fix a Python 3 testcase compat issue.

Always create the context for PY3 if not specified; this matches standard
Python library behaviour.