| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
function registrations in copy_reg. The perils of reloading modules even for tests...
|
| |
|
| |
|
|
|
|
|
|
| |
available.
Reviewed by Benjamin Peterson.
|
|
|
|
| |
has been removed there.
|
| |
|
| |
|
|
|
|
| |
Closes bug #1083645. Thanks Detlef Vollmann.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"import test.autotest", temp_imp failed because the import lock was
still held at the test's end (the test assumed it wouldn't be), and
then a RuntimeError got raised at the end of the entire suite run because
test_imp cleared the import lock as a side effect of trying to test that
the import lock wasn't held (but a legitimate import is in progress,
so the lock should be held, and the import machinery complained when it
found that the lock was unexpectedly cleareed).
Also removed the unittest scaffolding. It didn't buy anything here, and
the test was raising regrtest's TestFailed instead of using the unittest
failure-reporting mechanisms.
|
| |
|
|
|
|
|
|
| |
There was no test_main() and the main body was protected
by if __name__ == '__main__' so the test didn't happen
on import either.
|
|
Add missing INCREFs and re-indent returns to be consistent.
Add \n\ for lines in docstring
Add a pathetic test
Add docs
|