[PATCH 10 of 10] contrib: add test-check-module-imports.t to the Python 3 whitelist

Augie Fackler raf at durin42.com
Mon Aug 28 11:27:38 EDT 2017


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1503436573 14400
#      Tue Aug 22 17:16:13 2017 -0400
# Node ID 62fe41ce8dc879f92a047416b005fb295029cf13
# Parent  02257732eec8eab19c08175517370515da5712d9
contrib: add test-check-module-imports.t to the Python 3 whitelist

This has the benefit of also catching most (if not all!) old-style
print statements and except statements.

diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -4,6 +4,7 @@ test-branch-tag-confict.t
 test-casecollision.t
 test-check-commit.t
 test-check-execute.t
+test-check-module-imports.t
 test-check-pyflakes.t
 test-check-pylint.t
 test-check-shbang.t


More information about the Mercurial-devel mailing list