classification
Title: pkgutil.extend_path has no tests
Type: Stage:
Components: Tests Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, eric.smith, pitrou
Priority: normal Keywords: easy

Created on 2012-05-15 19:19 by eric.smith, last changed 2019-03-16 00:05 by BreamoreBoy.

Messages (6)
msg160751 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2012-05-15 19:19
Subject says it all.

There are also no tests of .pkg files.
msg160784 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-05-16 00:46
New changeset 48cb6b67d306 by Eric V. Smith in branch '3.2':
Issue #14817: Add rudimentary tests for pkgutil.extend_path.
http://hg.python.org/cpython/rev/48cb6b67d306
msg160785 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2012-05-16 00:48
I'm going to leave this open until better tests are added. The one I did add it very simple, but it's good enough for the changes I'm about to make.
msg160792 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2012-05-16 01:43
This code does not clean up correctly. It needs to remove the added modules in sys.modules. I'll eventually clean it up, once issue 14715 is addressed.
msg160809 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-05-16 07:54
This has broken all 3.x buildbots.
msg221843 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-29 13:34
@Eric will you pick this up again?
History
Date User Action Args
2019-03-16 00:05:34BreamoreBoysetnosy: - BreamoreBoy
2014-06-29 13:34:39BreamoreBoysetnosy: + BreamoreBoy
messages: + msg221843
2012-05-17 16:22:30Arfreversetnosy: + Arfrever
2012-05-16 07:54:26pitrousetnosy: + pitrou
messages: + msg160809
2012-05-16 01:43:21eric.smithsetmessages: + msg160792
2012-05-16 00:48:05eric.smithsetnosy: - python-dev
messages: + msg160785
2012-05-16 00:46:18python-devsetnosy: + python-dev
messages: + msg160784
2012-05-15 19:19:00eric.smithcreate