[issue8273] move test_support into the unittest package

Tarek Ziadé report at bugs.python.org
Wed Mar 31 14:55:43 CEST 2010


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

Yes, let's make things explicit as David said:

- "test" package: tests for Python itself, with private stuff, undocumented. 

- "unittest" package: the test framework that is used by the test package and that is public

I'd add a support module in unittest, containing these (maybe renamed and consolidated) and deprecate them in test_support:

- is_jython
- TESTFN
- forget
- findfile
- check_warnings
- captured_stdout
- TransientResource
- transient_internet
- EnvironmentVarGuard
- WarningsRecorder
- cpython_only
- temp_cwd
- sortdict

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8273>
_______________________________________


More information about the Python-bugs-list mailing list