Mercurial > hg
view tests/test-bad-pull.t @ 50754:f173c2c23289 stable
vfs: handle shutil.rmtree deprecation of onerror in Python 3.12
Tests would fail with warnings:
.../mercurial/vfs.py:289: DeprecationWarning: onerror argument is deprecated, use onexc instead
The excinfo changed slightly, but we don't use it anyway.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 27 Jun 2023 08:39:12 +0200 |
parents | ebee234d952a |
children |
line wrap: on
line source
#require serve $ hg clone http://localhost:$HGPORT/ copy abort: * (glob) [100] $ test -d copy [1] $ "$PYTHON" "$TESTDIR/dumbhttp.py" -p $HGPORT --pid dumb.pid $ cat dumb.pid >> $DAEMON_PIDS $ hg clone http://localhost:$HGPORT/foo copy2 abort: HTTP Error 404: * (glob) [100] $ killdaemons.py