# HG changeset patch # User FUJIWARA Katsunori <fo...@lares.dti.ne.jp> # Date 1550417245 -32400 # Mon Feb 18 00:27:25 2019 +0900 # Node ID 308243c661d7fb232997d290dfd861b95e36f090 # Parent b618569414e7d2db2c1d31a17c15bda3b8830901 # Available At https://bitbucket.org/foozy/mercurial-wip # hg pull https://bitbucket.org/foozy/mercurial-wip -r 308243c661d7 # EXP-Topic tests-fix-check-code-errors tests: define class in modern style to avoid check-code.py error
This is a part of preparation to apply checking with check-code.py on code fragments embedded in *.t test scripts. diff --git a/tests/test-hook.t b/tests/test-hook.t --- a/tests/test-hook.t +++ b/tests/test-hook.t @@ -855,7 +855,7 @@ preoutgoing hook can prevent outgoing ch > def printtags(ui, repo, **args): > ui.write(b'[%s]\n' % b', '.join(sorted(repo.tags()))) > - > class container: + > class container(object): > unreachable = 1 > EOF _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel