D4995: tests: disable one check on Python 3

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Oct 13 07:57:11 EDT 2018


durin42 updated this revision to Diff 12048.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4995?vs=12025&id=12048

REVISION DETAIL
  https://phab.mercurial-scm.org/D4995

AFFECTED FILES
  contrib/python3-whitelist
  tests/test-extension.t

CHANGE DETAILS

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -531,6 +531,10 @@
 
 Examine whether sub-module is imported relatively as expected.
 
+#endif
+
+#if demandimport no-py3k
+
 See also issue5208 for detail about example case on Python 3.x.
 
   $ f -q $TESTTMP/extlibroot/lsub1/lsub2/notexist.py
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -184,6 +184,7 @@
 test-export.t
 test-extdata.t
 test-extdiff.t
+test-extension.t
 test-extensions-afterloaded.t
 test-extensions-wrapfunction.py
 test-extra-filelog-entry.t



To: durin42, pulkit, #hg-reviewers
Cc: mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list