test-lfs-serve-access: account for output differences in Python 3.12 stable
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 23 Oct 2024 14:02:28 +0200
branchstable
changeset 52031 f8c18a5a345b
parent 52030 d906406658a9
child 52082 42863c4ff80f
test-lfs-serve-access: account for output differences in Python 3.12 This test is quite noisy, but the fix was very easy.
tests/test-lfs-serve-access.t
--- 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 !)