diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-25 16:36:33 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-25 16:36:33 (GMT) |
commit | ba8cf108735714d77430ff051cc2e414a2d82183 (patch) | |
tree | 0e78cd411a292baf83a3f7fce044c79045744fc7 /Lib/test/cfgparser.3 | |
parent | 32830149d8873234eaf1949ef840c3a07ecf5b64 (diff) | |
download | cpython-ba8cf108735714d77430ff051cc2e414a2d82183.zip cpython-ba8cf108735714d77430ff051cc2e414a2d82183.tar.gz cpython-ba8cf108735714d77430ff051cc2e414a2d82183.tar.bz2 |
Rework libregrtest.save_env
* Replace get/restore methods with a Resource class and Resource subclasses
* Create ModuleAttr, ModuleAttrList and ModuleAttrDict helper classes
* Use __subclasses__() to get resource classes instead of using an hardcoded
list (2 shutil resources were missinged in the list!)
* Don't define MultiprocessingProcessDangling resource if the multiprocessing
module is missing
* Nicer diff for dictionaries. Useful for the big os.environ dict
* Reorder code to group resources
Diffstat (limited to 'Lib/test/cfgparser.3')
0 files changed, 0 insertions, 0 deletions