changeset 33980:991134261057

tests: update test-largefiles-small-disk to pass our import checker
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 16:57:37 -0400
parents 237d2502ee6e
children 9a0f33f497cd
files tests/test-largefiles-small-disk.t
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-largefiles-small-disk.t	Tue Aug 22 15:51:47 2017 -0400
+++ b/tests/test-largefiles-small-disk.t	Tue Aug 22 16:57:37 2017 -0400
@@ -1,7 +1,10 @@
 Test how largefiles abort in case the disk runs full
 
   $ cat > criple.py <<EOF
-  > import os, errno, shutil
+  > from __future__ import absolute_import
+  > import errno
+  > import os
+  > import shutil
   > from mercurial import util
   > #
   > # this makes the original largefiles code abort: