changeset 33955:efa6a420ba57

tests: update test-eol to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 15:51:06 -0400
parents b9765319880e
children 1be228b96030
files tests/test-eol.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: