##// END OF EJS Templates
Check for Python errors in js tests...
Check for Python errors in js tests When running a cell in the js tests, this checks for any errors and treats them as a failure. Helps avoid confusion caused by silently ignoring failures in Python code.

File last commit:

r13347:54891794
r18170:d1305d75
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *