changeset 51699:f8c18a5a345b stable

test-lfs-serve-access: account for output differences in Python 3.12 This test is quite noisy, but the fix was very easy.
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 23 Oct 2024 14:02:28 +0200
parents d906406658a9
children 42863c4ff80f
files tests/test-lfs-serve-access.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lfs-serve-access.t	Wed Oct 23 13:49:54 2024 +0200
+++ b/tests/test-lfs-serve-access.t	Wed Oct 23 14:02:28 2024 +0200
@@ -84,6 +84,7 @@
 
   $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing
   abort: LFS error: *onnection *refused* (glob) (?)
+  abort: LFS error: $ECONNREFUSED$ (?)
   abort: LFS error: $EADDRNOTAVAIL$ (glob) (?)
   abort: LFS error: No route to host (?)
   (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing)
@@ -364,6 +365,7 @@
       self.do_write()
       self.do_hgweb()
       for chunk in self.server.application(env, self._start_response):
+                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (py312 !)
       for r in self._runwsgi(req, res, repo):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (py311 !)
       handled = wireprotoserver.handlewsgirequest( (py38 !)