changeset 46978:dc8976cc3a6e

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
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 19 Apr 2021 16:53:45 -0700
parents 3f87d2af0bd6
children 66cc5f867ddc
files tests/test-archive.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: