Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 00132-add-rpmbuild-hooks-to-unittest.patch | Fedora Python maintainers | 2020-09-29 | 2 | -1/+40 |
| | | | | | | | | | | | | | | | 00132 # Add non-standard hooks to unittest for use in the "check" phase below, when running selftests within the build: @unittest._skipInRpmBuild(reason) for tests that hang or fail intermittently within the build environment, and: @unittest._expectedFailureInRpmBuild for tests that always fail within the build environment The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the environment, which we set manually in the appropriate portion of the "check" phase below (and which potentially other python-* rpms could set, to reuse these unittest hooks in their own "check" phases) | ||||
* | Update TestCase.assertAlmostEqual and assertNotAlmostEqual docstrings. ↵ | Miss Islington (bot) | 2017-10-18 | 1 | -2/+3 |
| | | | | | | | (GH-3998) (GH-4040) The word "difference" from missing the sentence. This clarifies that it compares the difference between the two objects. (cherry picked from commit 032a6480e360427d4f964e31643604fad804ea14) | ||||
* | Issue #29274: tests cases → test cases | Martin Panter | 2017-01-18 | 2 | -8/+8 |
| | |||||
* | Issue #28998: More APIs now support longs as well as ints. | Serhiy Storchaka | 2016-12-27 | 1 | -1/+1 |
| | |||||
* | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -2/+2 |
| | | | | Based on patch by Ville Skyttä. | ||||
* | Issue #27076: Doc, comment and test function name spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #26837: assertSequenceEqual() now correctly outputs non-stringified | Serhiy Storchaka | 2016-04-25 | 1 | -3/+3 |
| | | | | differing items. This affects assertListEqual() and assertTupleEqual(). | ||||
* | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -1/+1 |
| | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
* | Reverted issue #24134 changes. | Serhiy Storchaka | 2015-05-16 | 2 | -12/+5 |
| | |||||
* | Fixed English in error message. | Serhiy Storchaka | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Issue #24134: assertRaises() and assertRaisesRegexp() checks are not longer | Serhiy Storchaka | 2015-05-06 | 2 | -5/+53 |
| | | | | | | successful if the callable is None. Added tests for assertRaises(). | ||||
* | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 7 | -5/+8 |
| | |||||
* | backport: #20145: assertRaisesRegexp now raises a TypeError on bad regex. | R David Murray | 2014-03-25 | 2 | -2/+8 |
| | | | | | Previously a non-string, non-regex second argument and no callable argument could cause the test to appear to always pass. | ||||
* | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 3 | -9/+9 |
| | |||||
* | Issue #19352: Fix unittest discovery when a module can be reached through ↵ | Antoine Pitrou | 2013-10-23 | 2 | -3/+25 |
| | | | | several paths (e.g. under Debian/Ubuntu with virtualenv). | ||||
* | Docstring typo fix: Arithmentic -> Arithmetic. | Mark Dickinson | 2013-09-09 | 1 | -1/+1 |
| | |||||
* | Closes issue 14971. | Michael Foord | 2013-09-08 | 2 | -1/+18 |
| | | | | | unittest test discovery no longer gets confused when a function has a different __name__ than its name in the TestCase class dictionary. | ||||
* | Silence deprecation warning in test_unittest for 'None > 1'. | Terry Jan Reedy | 2013-09-01 | 1 | -1/+1 |
| | | | | This is the same change that was made in 3.x when this became an error. | ||||
* | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | #18663: document that assertAlmostEqual also works when the values are equal ↵ | Ezio Melotti | 2013-08-11 | 1 | -0/+4 |
| | | | | and add tests. | ||||
* | #8906: document failureException, longMessage, and maxDiff in the class ↵ | Ezio Melotti | 2013-03-29 | 1 | -12/+11 |
| | | | | docstring. Patch by Boris Feld. | ||||
* | #17329: document unittest.SkipTest. Initial patch by Zachary Ware. | Ezio Melotti | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Correction to issue 17052 fix | Michael Foord | 2013-02-11 | 2 | -2/+2 |
| | |||||
* | Issue 17502: unittest discovery should use self.testLoader | Michael Foord | 2013-02-10 | 2 | -1/+18 |
| | |||||
* | Issue 15505. unittest.installHandler and non callable signal handlers | Michael Foord | 2013-01-29 | 2 | -1/+47 |
| | |||||
* | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | #16433: fix docstring of assertNotEqual. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
| | |||||
* | Pass on parameters in unittest.TextTestResult.__init__ super call | Michael Foord | 2012-09-28 | 2 | -1/+14 |
| | |||||
* | Issue #8767: Restore building with --disable-unicode. | Martin v. Löwis | 2012-05-20 | 1 | -1/+5 |
| | | | | Original patch by Stefano Taschini. | ||||
* | #14832: 'first' now really refers to first arg in unittest assertItemsEqual | R David Murray | 2012-05-16 | 1 | -1/+1 |
| | | | | | | This appears to have been a mixup introduced when we switched from 'expected/actual' to 'first/second'. The problem doesn't exist in the corresponding assertCountEqual method in Python3. | ||||
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵ | Antoine Pitrou | 2012-04-25 | 2 | -1/+32 |
| | | | | class that doesn't inherit from TestCase (i.e. a mixin). | ||||
* | this can be done without a custom dict (also fixes #12544) | Benjamin Peterson | 2011-07-13 | 1 | -22/+3 |
| | |||||
* | Issue 10326: Fix regression to get test cases to pickle again. | Raymond Hettinger | 2011-06-25 | 2 | -7/+43 |
| | |||||
* | Fix deprecation warnings in test_unittest. | Ezio Melotti | 2011-05-09 | 1 | -4/+4 |
| | |||||
* | #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings ↵ | Ezio Melotti | 2011-04-27 | 2 | -0/+44 |
| | | | | are too long. | ||||
* | Issue #10979. unittest stdout buffering now works for class and module fixtures. | Michael Foord | 2011-03-17 | 3 | -2/+91 |
| | |||||
* | Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual | Michael Foord | 2011-03-17 | 4 | -40/+105 |
| | |||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a ↵ | Michael Foord | 2010-12-19 | 2 | -14/+19 |
| | | | | | | collections.Counter under the hood. This fixes bugs when comparing collections of items like sets that can be sorted without raising an exception but where sorting has no meaning. | ||||
* | Issue 10611. SystemExit should not cause a unittest test run to exit. | Michael Foord | 2010-12-19 | 2 | -4/+64 |
| | |||||
* | Improvement to fix for issue 9926 to allow TestResult to be reused. | Michael Foord | 2010-12-19 | 2 | -1/+6 |
| | |||||
* | Merged revisions 87377 via svnmerge from | Ezio Melotti | 2010-12-18 | 2 | -8/+8 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line Use lowercase true/false in assertTrue/assertFalse messages. ........ | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 3 | -12/+12 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Merged revisions 86511 via svnmerge from | Benjamin Peterson | 2010-11-18 | 1 | -1/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86511 | benjamin.peterson | 2010-11-18 08:14:43 -0600 (Thu, 18 Nov 2010) | 1 line reduce try block compass ........ | ||||
* | Merged revisions 86101 via svnmerge from | Michael Foord | 2010-11-01 | 3 | -19/+32 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86101 | michael.foord | 2010-11-01 21:09:03 +0000 (Mon, 01 Nov 2010) | 1 line Fix issue 9926. TestSuite subclasses that override __call__ are called correctly. ........ | ||||
* | Fix error message for comparing single line strings in ↵ | Michael Foord | 2010-07-10 | 2 | -3/+23 |
| | | | | | | unittest.TestCase.assertEqual. Issue 9174 | ||||
* | Fix issue with nested test suites debug method and module setups. (unittest) | Michael Foord | 2010-06-10 | 2 | -2/+4 |
| | |||||
* | Typo correction. | Michael Foord | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus ↵ | Michael Foord | 2010-06-08 | 4 | -2/+116 |
| | | | | class and module teardowns are not run by unittest.TestSuite.debug(). | ||||
* | Code formatting change. | Michael Foord | 2010-06-05 | 1 | -0/+1 |
| |