[issue15376] Refactor the create-package code in test_runpy into a helper module

2012-07-17 Thread Nick Coghlan
Nick Coghlan added the comment: One trap to watch out for: it's best to call os.path.realpath() on any temporary directories created, since the interpreter tends to do that internally. I'd previously dealt with this in script_helper.temp_dir, but it came up again when I tightened up the runp

[issue15376] Refactor the create-package code in test_runpy into a helper module

2012-07-17 Thread Chris Jerdonek
New submission from Chris Jerdonek : This issue is to refactor the create-package code in test_runpy into a helper module, as suggested in issue 15358. This is a prerequisite to moving the pkgutil.walk_package() tests from test_runpy into test_pkgutil. -- components: Tests keywords: e