Skip to content

Commit

Permalink
executors/python: pytb is aliased to py3tb; use py2tb explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyene committed Jun 3, 2024
1 parent 1b43584 commit 390f9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dmoj/executors/PY2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class Executor(PythonExecutor):
command = 'python'
command_paths = ['python2.7', 'python2', 'python']
pygments_traceback_lexer = 'pytb'
pygments_traceback_lexer = 'py2tb'
test_program = """
import sys
if sys.version_info.major == 2:
Expand Down
2 changes: 1 addition & 1 deletion dmoj/executors/PYPY.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class Executor(PythonExecutor):
command = 'pypy'
pygments_traceback_lexer = 'pytb'
pygments_traceback_lexer = 'py2tb'
test_program = """
import sys
if sys.version_info.major == 2:
Expand Down

0 comments on commit 390f9f2

Please sign in to comment.