[PATCH 8 of 8] tests: make test-manifest use absolute_import
Pulkit Goyal
7895pulkit at gmail.com
Sat Apr 9 04:02:18 EDT 2016
# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1460161697 -19800
# Sat Apr 09 05:58:17 2016 +0530
# Node ID 3cbe4b9e7e6620bae37dc7c3014f734c6da5b76c
# Parent 550c832cb7d523733c5795ba66f7e3f32ae6c1fb
tests: make test-manifest use absolute_import
diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t
+++ b/tests/test-check-py3-compat.t
@@ -59,7 +59,6 @@
tests/test-hgwebdir-paths.py not using absolute_import
tests/test-lrucachedict.py not using absolute_import
tests/test-lrucachedict.py requires print_function
- tests/test-manifest.py not using absolute_import
tests/test-pathencode.py requires print_function
tests/test-trusted.py requires print_function
diff --git a/tests/test-manifest.py b/tests/test-manifest.py
--- a/tests/test-manifest.py
+++ b/tests/test-manifest.py
@@ -1,11 +1,15 @@
+from __future__ import absolute_import
import binascii
+import itertools
+import silenttestrunner
import unittest
-import itertools
-import silenttestrunner
-
-from mercurial import manifest as manifestmod
-from mercurial import match as matchmod
+from mercurial import (
+ manifest as manifestmod,
+)
+from mercurial import (
+ match as matchmod,
+)
EMTPY_MANIFEST = ''
EMTPY_MANIFEST_V2 = '\0\n'
More information about the Mercurial-devel
mailing list