Re: [ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Ilya Maximets
On 4/8/24 22:10, Frode Nordahl wrote: > On Mon, Apr 8, 2024 at 9:18 PM Frode Nordahl wrote: >> >> On Mon, Apr 8, 2024 at 9:14 PM Ilya Maximets wrote: >>> >>> On 4/8/24 16:48, Frode Nordahl wrote: On Mon, Apr 8, 2024 at 4:44 PM Ilya Maximets wrote: > > On 4/8/24 16:39, Frode Nordahl

Re: [ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Frode Nordahl
On Mon, Apr 8, 2024 at 9:18 PM Frode Nordahl wrote: > > On Mon, Apr 8, 2024 at 9:14 PM Ilya Maximets wrote: > > > > On 4/8/24 16:48, Frode Nordahl wrote: > > > On Mon, Apr 8, 2024 at 4:44 PM Ilya Maximets wrote: > > >> > > >> On 4/8/24 16:39, Frode Nordahl wrote: > > >>> The vlog - Python3 test

Re: [ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Frode Nordahl
On Mon, Apr 8, 2024 at 9:14 PM Ilya Maximets wrote: > > On 4/8/24 16:48, Frode Nordahl wrote: > > On Mon, Apr 8, 2024 at 4:44 PM Ilya Maximets wrote: > >> > >> On 4/8/24 16:39, Frode Nordahl wrote: > >>> The vlog - Python3 test makes use of output from Python > >>> Tracebacks in its assertion. >

Re: [ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Ilya Maximets
On 4/8/24 16:48, Frode Nordahl wrote: > On Mon, Apr 8, 2024 at 4:44 PM Ilya Maximets wrote: >> >> On 4/8/24 16:39, Frode Nordahl wrote: >>> The vlog - Python3 test makes use of output from Python >>> Tracebacks in its assertion. >>> >>> In Python 3.12 a line with tophat (``^``) markers is added

Re: [ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Frode Nordahl
On Mon, Apr 8, 2024 at 4:44 PM Ilya Maximets wrote: > > On 4/8/24 16:39, Frode Nordahl wrote: > > The vlog - Python3 test makes use of output from Python > > Tracebacks in its assertion. > > > > In Python 3.12 a line with tophat (``^``) markers is added below > > the assert line, which makes the

Re: [ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Ilya Maximets
On 4/8/24 16:39, Frode Nordahl wrote: > The vlog - Python3 test makes use of output from Python > Tracebacks in its assertion. > > In Python 3.12 a line with tophat (``^``) markers is added below > the assert line, which makes the test fail. Hmm. Are you sure it's 3.12? I believe I did run

[ovs-dev] [PATCH] tests: Fix compatibility issue with Python 3.12 in vlog.at.

2024-04-08 Thread Frode Nordahl
The vlog - Python3 test makes use of output from Python Tracebacks in its assertion. In Python 3.12 a line with tophat (``^``) markers is added below the assert line, which makes the test fail. Strip lines starting whith whitespace and otherwise only containing one or more occurence of the ``^``