[PATCH 10 of 10] tests: update test-largefiles-small-disk to pass our import checker
Augie Fackler
raf at durin42.com
Mon Aug 28 10:42:03 EDT 2017
# HG changeset patch
# User Augie Fackler <raf at 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
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:
More information about the Mercurial-devel
mailing list