tests: make test-archive.t pass on py3.9 (
issue6504)
Something got stricter at parsing URL query parameters and now the
parameters need to be separated by "&"; ";" is no longer allowed. See
issue6504 for details.
Differential Revision: https://phab.mercurial-scm.org/D10472
--- a/tests/test-archive.t Mon Apr 19 12:52:23 2021 -0700
+++ b/tests/test-archive.t Mon Apr 19 16:53:45 2021 -0700
@@ -334,10 +334,10 @@
> pass
> if len(sys.argv) <= 3:
> node, archive = sys.argv[1:]
- > requeststr = 'cmd=archive;node=%s;type=%s' % (node, archive)
+ > requeststr = 'cmd=archive&node=%s&type=%s' % (node, archive)
> else:
> node, archive, file = sys.argv[1:]
- > requeststr = 'cmd=archive;node=%s;type=%s;file=%s' % (node, archive, file)
+ > requeststr = 'cmd=archive&node=%s&type=%s&file=%s' % (node, archive, file)
> try:
> stdout = sys.stdout.buffer
> except AttributeError: