Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
db919f01884e8c93506db7d54325d4e68e61861b
/
Lib
/
unittest
db919f0
Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors.
by Michael Foord
· 15 years ago
c1d7c5b
Tests for unittest.TestCase.maxDiff.
by Michael Foord
· 15 years ago
20e287c
Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported as a skip rather than an error.
by Michael Foord
· 15 years ago
f2c25c5
Fix unittest tests after previous commit.
by Michael Foord
· 15 years ago
5fe21ff
unittest.TestCase assertion methods inform you when they have omitted an over long diff on failure. Issue 8351.
by Michael Foord
· 15 years ago
674648e
unittest.TestCase.assertDictEqual and assertMultilineEqual provide better default failure messages in the event of long diffs.
by Michael Foord
· 15 years ago
e37d75f
Removed the new max_diff argument to assertSequenceEqual. All unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351.
by Michael Foord
· 15 years ago
a441287
Extract error message truncating into a method (unittest.TestCase._truncateMessage).
by Michael Foord
· 15 years ago
0100702
Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual.
by Michael Foord
· 15 years ago
9ef5d33
unittest TestLoader test discovery filename matching done in a method. This makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation.
by Michael Foord
· 15 years ago
72b1977
Improving help message for python -m unittest. Issue 8303.
by Michael Foord
· 15 years ago
53a92eb
Adding a test for unittest.BaseTestSuite.
by Michael Foord
· 15 years ago
9c164af
unittest: issue 8301. Adding functions to test suites no longer crashes.
by Michael Foord
· 15 years ago
959c16d
Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038.
by Michael Foord
· 15 years ago
22097e4
Issue 7780. Adding a test for unittest test discovery from a dotted path.
by Michael Foord
· 15 years ago
e6f5e22
Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery.
by Michael Foord
· 15 years ago
1a0ce68
revert r80932; it breaks windows
by Benjamin Peterson
· 15 years ago
ae4dde0
Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery.
by Michael Foord
· 15 years ago
4fedbce
Adding tests for unittest command line handling of buffer, catchbreak and failfast.
by Michael Foord
· 15 years ago
215d394
Adding a test for unittest test discovery with dotted path name.
by Michael Foord
· 15 years ago
f9ffcce
Fix unittest tests to not abuse traceback.format_exception
by Michael Foord
· 15 years ago
5c322ec
Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs.
by Michael Foord
· 15 years ago
fb4812f
Issue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it.
by R. David Murray
· 15 years ago
f6ff26c
unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333.
by Michael Foord
· 15 years ago
c1bf677
Fix module directory finding logic for dotted paths in unittest test discovery.
by Michael Foord
· 15 years ago
bb006cf
Add tests for cmp_to_key.
by Raymond Hettinger
· 15 years ago
3dd9f40
Minor tweak to unittest command line usage message
by Michael Foord
· 15 years ago
d43b63f
Adding -b command line option to the unittest usage message.
by Michael Foord
· 15 years ago
9323266
Another attempt at a fix for unittest.test.test_result for windows line endings
by Michael Foord
· 15 years ago
9b4ee12
Cross platform unittest.TestResult newline handling when buffering stdout / stderr.
by Michael Foord
· 15 years ago
931190b
Support dotted module names for test discovery paths in unittest. Issue 7780.
by Michael Foord
· 15 years ago
e5aa886
Implement #1220212. Add os.kill support for Windows.
by Brian Curtin
· 15 years ago
a04c7a0
Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches
by Michael Foord
· 15 years ago
25d7976
unittest tests no longer replace the sys.stdout put in place by regrtest
by Michael Foord
· 15 years ago
58c1e78
TestResult stores original sys.stdout and tests no longer use sys.__stdout__ (etc) in tests for unittest -b command line option
by Michael Foord
· 15 years ago
5637f04
Addition of -b command line option to unittest for buffering stdout and stderr during test runs.
by Michael Foord
· 15 years ago
e6410c5
Backport of weakref.WeakSet and tests from Python 3.
by Michael Foord
· 15 years ago
a7e08fe
Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals
by Michael Foord
· 15 years ago
b35ecf4
Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
by Michael Foord
· 15 years ago
ff88939
A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
by Michael Foord
· 15 years ago
fa2f1cd
Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
by Michael Foord
· 15 years ago
ee62788
Move a support TestCase out of the main namespace in unittest.test.test_suite
by Michael Foord
· 15 years ago
95ac82b
Remove incorrect docstring in unittest.test
by Michael Foord
· 15 years ago
35b3792
Turn unittest tests into a package
by Michael Foord
· 15 years ago
eef159b
Correct usage message displayed for python -m unittest -h
by Michael Foord
· 15 years ago
0ce1672
expected failure should not trigger failfast behavior in unittest.
by Michael Foord
· 15 years ago
4989969
Removing Python 2.3 compatibility code from unittest.
by Michael Foord
· 15 years ago
1b9e953
-f/--failfast command line option for unittest. Issue 8074. Documentation still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest
by Michael Foord
· 15 years ago
b1aa30f
Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.
by Michael Foord
· 15 years ago
4a0f8b8
Silence more py3k warnings in unittest.case.
by Florent Xicluna
· 15 years ago
8cb253f
Change order of arguments in a unittest function.
by Michael Foord
· 15 years ago
73dbe04
A faulty load_tests in a test module no longer halts test discovery. A placeholder test, that reports the failure, is created instead.
by Michael Foord
· 15 years ago
98e7b76
Issue 7832: renaming unittest.TestCase.assertSameElements to assertItemsEqual and changing behaviour
by Michael Foord
· 15 years ago
08611b5
Remove accidental print statement from last commit.
by Michael Foord
· 15 years ago
a715255
Fix accidental name rebinding in unittest py3k warning filtering.
by Michael Foord
· 15 years ago
5ffa325
Addition of setUpClass and setUpModule shared fixtures to unittest.
by Michael Foord
· 15 years ago
53e8eea
Fix for potentials errors in constructing unittest failure messages. Plus skipped test methods no longer run setUp and tearDown (Issue 8059)
by Michael Foord
· 15 years ago
1f3b4e1
Fix some py3k warnings in the standard library.
by Florent Xicluna
· 15 years ago
d99ef9a
unittest.TestResult can now be used with the TextTestRunner. TextTestRunner compatible with old TestResult objects.
by Michael Foord
· 15 years ago
ae3db0a
Support for old TestResult object (unittest) with warnings when using unsupported features.
by Michael Foord
· 15 years ago
c2294dd
Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode issues when constructing failure messages. Issue 7956
by Michael Foord
· 15 years ago
225a099
unittest.TestCase uses safe_repr for producing failure messages. Partial fix for issue 7956
by Michael Foord
· 15 years ago
e5e7696
Adding TextTestResult to unittest.__all__
by Michael Foord
· 16 years ago
67dfc77
Remove deprecation on assert_. It is used too frequently.
by Michael Foord
· 16 years ago
db43b5a
Issue 7893 and Issue 7588
by Michael Foord
· 16 years ago
fe6349c
Make assertMultiLineEqual the default for comparing unicode strings.
by Michael Foord
· 16 years ago
cd4f657
Fix exc_value -> exception in docstring
by Ezio Melotti
· 16 years ago
2bd52dc
assertRaises as context manager now allows you to access exception as documented
by Michael Foord
· 16 years ago
dc3694b
Rename "exc_value" attribute on assertRaises context manager to "exception".
by Georg Brandl
· 16 years ago
b0eb4d3
Use "regexp" consistently.
by Georg Brandl
· 16 years ago
0877060
unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.
by Michael Foord
· 16 years ago
757cc4d
Correction to docstring correction.
by Michael Foord
· 16 years ago
d0edec3
Improving docstrings in unittest.TestCase
by Michael Foord
· 16 years ago
05b4171
Fix typo in assertSequenceEqual docstring.
by R. David Murray
· 16 years ago
b5d7400
Change error report when the object passed to suite.addTest is not
by R. David Murray
· 16 years ago
b9d4963
Issue #7092: Fix the DeprecationWarnings emitted by the standard library
by Antoine Pitrou
· 16 years ago
8cdc9bc
More yearly updates.
by Georg Brandl
· 16 years ago
d46430b
now that deepcopy can handle instance methods, this hack can be removed #7409
by Benjamin Peterson
· 16 years ago
47dded6
Backport micro-fix from the py3k svnmerge
by Antoine Pitrou
· 16 years ago
0734c63
Issue #7197: Allow unittest.TextTestRunner objects to be pickled and
by Antoine Pitrou
· 16 years ago
f895cf5
#7031: Add TestCase.assertIsInstance and negated method.
by Georg Brandl
· 16 years ago
46cc46a
Fix some weird whitespace and two other overlong lines.
by Georg Brandl
· 16 years ago
d6aabcf
Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
by Michael Foord
· 16 years ago
e91ea56
Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
by Michael Foord
· 16 years ago
5a9719d
unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
by Michael Foord
· 16 years ago
c3f7937
Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
by Michael Foord
· 16 years ago
e2a7798
issue 6275
by Kristján Valur Jónsson
· 16 years ago
d7b0eeb
split unittest.py into a package
by Benjamin Peterson
· 16 years ago