# HG changeset patch # User Augie Fackler # Date 1503431466 14400 # Node ID efa6a420ba576ee782a9771bb16d38ad400cb7d8 # Parent b9765319880e2362d882d334ca4042be13cafc53 tests: update test-eol to pass our import checker diff -r b9765319880e -r efa6a420ba57 tests/test-eol.t --- 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 < 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: