[issue23977] Enhancing IDLE's test_delegator.py unit test

Al Sweigart report at bugs.python.org
Fri Apr 17 00:18:37 CEST 2015


New submission from Al Sweigart:

As part of trying to understand the IDLE codebase, I'm taking a look at IDLE's unit tests.

-Added more specific messages when test_delegator.py's assertions fail.
-Added detail to the comments.
-Added an explicit test of the resetcache() method (which before was only tested as far as it was called when setdelegate() was called).

I've rerun the unit test on the existing source code and it passes.

----------
components: Tests
files: test_delegator.patch
keywords: patch
messages: 241284
nosy: Al.Sweigart
priority: normal
severity: normal
status: open
title: Enhancing IDLE's test_delegator.py unit test
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file39078/test_delegator.patch

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


More information about the Python-bugs-list mailing list