- 09 Jun, 2010 4 commits
-
-
Benjamin Peterson authored
-
Alexander Belopolsky authored
-
Antoine Pitrou authored
-
Michael Foord authored
-
- 08 Jun, 2010 3 commits
-
-
Michael Foord authored
Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus class and module teardowns are not run by unittest.TestSuite.debug().
-
Brian Curtin authored
done in r81843 for py3k.
-
Benjamin Peterson authored
-
- 07 Jun, 2010 6 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Ezio Melotti authored
-
Benjamin Peterson authored
-
Andrew M. Kuchling authored
-
- 06 Jun, 2010 7 commits
-
-
Tarek Ziadé authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 05 Jun, 2010 20 commits
-
-
Michael Foord authored
-
Ezio Melotti authored
-
Michael Foord authored
Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
-
Michael Foord authored
Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors.
-
Michael Foord authored
-
Michael Foord authored
-
Michael Foord authored
Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported as a skip rather than an error.
-
Ezio Melotti authored
-
Ezio Melotti authored
1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in RFC 3629, but leave it commented out since it's not backward compatible; 4) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 5) Add an extensive set of tests in test_unicode; 6) Fix test_codeccallbacks because it was failing after this change.
-
Alexander Belopolsky authored
-
Michael Foord authored
-
Michael Foord authored
unittest.TestCase assertion methods inform you when they have omitted an over long diff on failure. Issue 8351.
-
Mark Dickinson authored
-
Michael Foord authored
unittest.TestCase.assertDictEqual and assertMultilineEqual provide better default failure messages in the event of long diffs.
-
Mark Dickinson authored
-
Mark Dickinson authored
This is just a quick fix: if the warning is turned into an exception, the exception simply gets ignored.
-
Michael Foord authored
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.
-
Mark Dickinson authored
-
Michael Foord authored
-
Michael Foord authored
-