tests/test-eol.t
changeset 33955 efa6a420ba57
parent 33721 24849d53697d
child 36030 b85b0bbed6de
--- a/tests/test-eol.t	Tue Aug 22 15:50:59 2017 -0400
+++ b/tests/test-eol.t	Tue Aug 22 15:51:06 2017 -0400
@@ -8,9 +8,11 @@
 Set up helpers
 
   $ cat > switch-eol.py <<EOF
+  > from __future__ import absolute_import
+  > import os
   > import sys
   > try:
-  >     import os, msvcrt
+  >     import msvcrt
   >     msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
   >     msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
   > except ImportError: