diff tests/test-split.t @ 36645:7bc33d677c0c

tests: fix various test-check-module-imports.t violations Somehow these are only caught when running the test under Python 3. Differential Revision: https://phab.mercurial-scm.org/D2580
author Augie Fackler <augie@google.com>
date Sat, 03 Mar 2018 09:35:59 -0500
parents 1a09dad8b85a
children a0e185f10454
line wrap: on
line diff
--- a/tests/test-split.t	Tue Feb 27 00:33:46 2018 +0530
+++ b/tests/test-split.t	Sat Mar 03 09:35:59 2018 -0500
@@ -2,7 +2,8 @@
 
   $ cat > $TESTTMP/editor.py <<EOF
   > #!$PYTHON
-  > import os, sys
+  > import os
+  > import sys
   > path = os.path.join(os.environ['TESTTMP'], 'messages')
   > messages = open(path).read().split('--\n')
   > prompt = open(sys.argv[1]).read()