Skip to content
Snippets Groups Projects
Commit 209e04a06467 authored by Matt Mackall's avatar Matt Mackall
Browse files

tests: fix Mac doctest escape code garbage for check-translations

parent 9d8a9901d4c0
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,8 @@ ...@@ -122,6 +122,8 @@
(options, args) = optparser.parse_args() (options, args) = optparser.parse_args()
if options.doctest: if options.doctest:
if 'TERM' in os.environ:
del os.environ['TERM']
import doctest import doctest
failures, tests = doctest.testmod() failures, tests = doctest.testmod()
sys.exit(failures and 1 or 0) sys.exit(failures and 1 or 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment