New submission from py.user:

http://docs.python.org/3/library/unittest.html#organizing-test-code
"""
def suite():
    suite = unittest.TestSuite()
    suite.addTest(WidgetTestCase('test_default_size'))
    suite.addTest(WidgetTestCase('test_resize'))
    return suite
"""

----------
assignee: docs@python
components: Documentation
files: issue.diff
keywords: patch
messages: 193667
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file31029/issue.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18548>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to