]> granicus.if.org Git - python/commit
bpo-19696: Replace deprecated method in "test_import_pkg.py" (GH-14466)
authorKyle Stanley <aeros167@gmail.com>
Wed, 3 Jul 2019 18:22:40 +0000 (14:22 -0400)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Jul 2019 18:22:40 +0000 (11:22 -0700)
commit56ec4f1fdedd5b38deb06d94d51dd1a540262e90
tree6a33b3d3f1c824783a0c07e710c4e2bb82ad15db
parent53c214344038341ce86fcf7efa12dc33be9d5b45
bpo-19696: Replace deprecated method in "test_import_pkg.py" (GH-14466)

Replacing the deprecated method "random.choose" to "random.choice" was technically not part of the original issue. However, it was discussed in the talk page and involved one of the files being moved. I assumed this was too minor to justify the creation of a separate issue.

Also, I added my name to the contributors list in Misc/ACKS. This will be my third PR to cpython, forgot to do it in the previous ones.

https://bugs.python.org/issue19696
Lib/test/test_importlib/test_pkg_import.py
Misc/ACKS
Misc/NEWS.d/next/Tests/2019-06-29-16-02-21.bpo-19696.05ijhN.rst [new file with mode: 0644]