Mercurial > hg
annotate tests/test-check-py3-commands.t @ 30806:e2796f193f06
patch: add similarity config knob in experimental section
This config knob will control whether or not to show the similarity
calculation in the diff output:
diff --git a/README.md b/foo.md
similarity index 88%
rename from README.md
rename to foo.md
--- a/README.md
+++ b/foo.md
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 09 Jan 2017 10:51:44 -0800 |
parents | 2d555d753f0e |
children | dab92f3dbd98 |
rev | line source |
---|---|
30129
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
1 #require py3exe |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
2 |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
3 This test helps in keeping a track on which commands we can run on |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
4 Python 3 and see what kind of errors are coming up. |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
5 The full traceback is hidden to have a stable output. |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 $ for cmd in version debuginstall ; do |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
8 > echo $cmd |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1 |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
10 > done |
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
11 version |
30586
2d555d753f0e
py3: make keys of keyword arguments strings
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30569
diff
changeset
|
12 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
30129
d69d86e7d6c8
py3: test to check which commands run
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
13 debuginstall |
30569
bcb858396233
py3: avoid use of basestring
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30349
diff
changeset
|
14 TypeError: Can't convert 'bytes' object to str implicitly |