Patchwork [10,of,10] tests: update test-largefiles-small-disk to pass our import checker

login
register
mail settings
Submitter Augie Fackler
Date Aug. 28, 2017, 2:42 p.m.
Message ID <ef55f9488b4eac33e16b.1503931323@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/23411/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 28, 2017, 2:42 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503435457 14400
#      Tue Aug 22 16:57:37 2017 -0400
# Node ID ef55f9488b4eac33e16b464a2cfe7855c183811d
# Parent  352230d757644e16341a6104268f4e608cf97490
tests: update test-largefiles-small-disk to pass our import checker

Patch

diff --git a/tests/test-largefiles-small-disk.t b/tests/test-largefiles-small-disk.t
--- a/tests/test-largefiles-small-disk.t
+++ b/tests/test-largefiles-small-disk.t
@@ -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: