# HG changeset patch
# User Raphaël Gomès <rgomes@octobus.net>
# Date 1729684948 -7200
#      Wed Oct 23 14:02:28 2024 +0200
# Branch stable
# Node ID f8c18a5a345ba50198a70aaf580aff8ef268f17a
# Parent  d906406658a947ab64b34302df15be21e928ba24
test-lfs-serve-access: account for output differences in Python 3.12

This test is quite noisy, but the fix was very easy.

diff --git a/tests/test-lfs-serve-access.t b/tests/test-lfs-serve-access.t
--- a/tests/test-lfs-serve-access.t
+++ b/tests/test-lfs-serve-access.t
@@ -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 !)