[PATCH] py3: test to check which commands run

Kevin Bullock kbullock+mercurial at ringworld.org
Sun Oct 9 08:48:18 EDT 2016


> On Oct 9, 2016, at 14:12, Pulkit Goyal <7895pulkit at gmail.com> wrote:
> 
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1476014360 -7200
> #      Sun Oct 09 13:59:20 2016 +0200
> # Node ID 1c8fe0486ff6657929f63f6c354662c6295cfd1d
> # Parent  3ce847adae982625abac548017e43da189eb5e71
> py3: test to check which commands run
> 
> This test helps us to keep track on the commands which runs to Python 3.
> 
> diff -r 3ce847adae98 -r 1c8fe0486ff6 tests/test-check-py3-commands.t
> --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
> +++ b/tests/test-check-py3-commands.t	Sun Oct 09 13:59:20 2016 +0200
> @@ -0,0 +1,25 @@
> +'''This test helps us in keeping track of what commands we can run in
> +Python 3. We can add more commands when this commands work in Python 3.'''
> +
> +
> +  $ . "$TESTDIR/helpers-testrepo.sh"
> +  $ cd "$TESTDIR"/..
> +
> +  $ $PYTHON3 hg version

Looks like this needs '#require py3exe' at the top.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list