[issue18548] In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()

2016-08-05 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks! I went with Ezio's suggestion but left 2.7 documentation as is. -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.5, Python 3.6

[issue18548] In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()

2016-08-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0402caa0ef5 by Berker Peksag in branch '3.5': Issue #18548: Fix unittest.TestSuite() example https://hg.python.org/cpython/rev/d0402caa0ef5 New changeset e17e3f620709 by Berker Peksag in branch 'default': Issue #18548: Merge from 3.5

[issue18548] In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()

2013-07-29 Thread Ezio Melotti
Ezio Melotti added the comment: This is a leftover from 2.7. In 2.7 the docs have a SimpleWidgetTestCase used as base class for two other classes, and then the same example is reimplemented by using a single WidgetTestCase class. I think it would be better to make the two docs converge, by

[issue18548] In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()

2013-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +ezio.melotti, michael.foord stage: - patch review versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18548 ___

[issue18548] In unittest doc change WidgetTestCase to SimpleWidgetTestCase in suite()

2013-07-24 Thread py.user
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: