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

login
register
mail settings
Submitter Augie Fackler
Date Aug. 28, 2017, 3:27 p.m.
Message ID <62fe41ce8dc879f92a04.1503934058@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/23430/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 28, 2017, 3:27 p.m.
# HG changeset patch
# User Augie Fackler <raf@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.

Patch

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