]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40927: Fix test_binhex when run twice (GH-20764) (GH-20789)
authorVictor Stinner <vstinner@python.org>
Wed, 10 Jun 2020 18:17:13 +0000 (20:17 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 18:17:13 +0000 (20:17 +0200)
commitaf6932575391bca10f4f2145b56e3edbe9765343
treef74ec5c5e2e028ed8ccc2b087ef44776992fa1be
parent4a4f660cfde8b683634c53e6214a6baa51de43b1
bpo-40927: Fix test_binhex when run twice (GH-20764) (GH-20789)

test_binhex now uses import_fresh_module() to ensure that it raises
DeprecationWarning each time.

(cherry picked from commit 9c24e2e4c10705d95258558348417a28007dac66)
Lib/test/test_binhex.py
Misc/NEWS.d/next/Tests/2020-06-09-18-48-18.bpo-40927.67ylLg.rst [new file with mode: 0644]