[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Avoid DeprecationWarning on make check with Python >= 3.5

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Fri, 3 Jan 2020 13:07:10 -0500

On Thu, Jan 2, 2020 at 3:36 PM Yasuhito FUTATSUKI <futatuki_at_poem.co.jp> wrote:
>
> Hi,
> As I saw Nathan add note about DeprecationWarning in run_test.py on
> Subversion's Python 3 Support Status page yesterday, I've made a patch
> to avoid warning.
>
> I didn't read context around the code changed, I only rewrited it as the
> example code[1] do.
>
> [1] https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly
>
> I've run it on Python 3.7.1 and it seems it can run Python test units
> without DeprecationWarning.
>
> Could anyone review this?

Hello Yasuhito,

Thank you for addressing that.

The patch looks good. Daniel ran tests with Python 3.5.3, so I ran the
tests with Python 2.7.16.

I think it should be committed.

Cheers,
Nathan
Received on 2020-01-03 19:21:25 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.