Mark Dickinson
d4814bfa23
Issue #532631 : Apply floatformat changes to unicodeobject.c
...
as well as stringobject.c.
2009-03-29 16:24:29 +00:00
Mark Dickinson
174e909842
Issue #532631 : Add paranoid check to avoid potential buffer overflow
...
on systems with sizeof(int) > 4.
2009-03-29 16:17:16 +00:00
Mark Dickinson
2e648ecc7d
Issue #532631 : Replace confusing fabs(x)/1e25 >= 1e25 test
...
with fabs(x) >= 1e50, and fix documentation.
2009-03-29 14:37:51 +00:00
Guilherme Polo
310916212e
Typo fix.
2009-03-29 10:19:05 +00:00
Collin Winter
a199f01986
Add the ability to control the random seed used by regrtest.py -r.
...
This adds a --randseed option, and makes regrtest.py -r indicate what random seed it's using so that that value can later be fed back to --randseed. This option is useful for tracking down test order-related issues found by make buildbottest, for example.
2009-03-29 03:44:19 +00:00
Benjamin Peterson
097aafdde6
fix consistency
2009-03-29 03:39:58 +00:00
Benjamin Peterson
7233acc5c5
stop the versionchanged directive from hiding the docs
2009-03-29 03:31:40 +00:00
Benjamin Peterson
be76d4caed
a more realistic example
2009-03-29 03:16:57 +00:00
Georg Brandl
a0eea590c7
Add section numbering to some of the larger subdocuments.
2009-03-28 19:57:36 +00:00
Georg Brandl
400fd60a8d
Switch to fixed Sphinx version.
2009-03-28 19:52:58 +00:00
Georg Brandl
392775f615
Add a script to fixup rst files if the pre-commit hook rejects them.
2009-03-28 19:33:33 +00:00
Antoine Pitrou
b22b94886d
Fix a typo and be more specific
2009-03-28 19:17:54 +00:00
Guilherme Polo
41eb08616c
Typo fix
2009-03-28 19:17:16 +00:00
Benjamin Peterson
0e9285845e
give os.symlink and os.link() better parameter names #5564
2009-03-28 19:16:10 +00:00
Georg Brandl
a31aa45fbf
#5324 : document __subclasses__().
2009-03-28 19:10:37 +00:00
Antoine Pitrou
c18f6b023d
Publicize the GC untracking optimization
2009-03-28 19:10:13 +00:00
Georg Brandl
5adab304e3
Fix typo.
2009-03-28 00:48:48 +00:00
Guilherme Polo
1972d16230
Adjusted _tkinter to compile without warnings when WITH_THREAD is not
...
defined (part of issue #5035 )
2009-03-27 21:43:08 +00:00
Benjamin Peterson
7fa9459baf
fix another name
2009-03-26 21:44:43 +00:00
Benjamin Peterson
04232973b7
update email tests to use SkipTest
2009-03-26 21:40:29 +00:00
Benjamin Peterson
effa1dc709
** is required here
2009-03-26 21:30:54 +00:00
Benjamin Peterson
bf4464a38f
add missing import
2009-03-26 21:30:10 +00:00
Benjamin Peterson
a9b5be0c05
must pass argument to get expected behavior ;)
2009-03-26 21:11:16 +00:00
Benjamin Peterson
bec087f29d
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
2009-03-26 21:10:30 +00:00
Benjamin Peterson
ad57d97596
fix naming
2009-03-26 20:49:40 +00:00
Benjamin Peterson
888a39b54c
remove test_support.TestSkipped and just use unittest.SkipTest
2009-03-26 20:48:25 +00:00
Benjamin Peterson
21f6aac633
apply the second part of #4242 's patch; classify all the implementation details in test_descr
2009-03-26 20:17:27 +00:00
Benjamin Peterson
47d9738b0f
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
2009-03-26 20:05:50 +00:00
Benjamin Peterson
c3141a6e96
add some useful utilities for skipping tests with unittest's new skipping ability
...
most significantly apply a modified portion of the patch from #4242 with
patches for skipping implementation details
2009-03-26 19:58:18 +00:00
Benjamin Peterson
0ad9b7727d
add support for PyPy
2009-03-26 19:09:21 +00:00
Benjamin Peterson
94e4e2a7e5
roll old test in with new one
2009-03-26 18:58:30 +00:00
Benjamin Peterson
b457b89323
more and more implementations now support sys.subversion
2009-03-26 18:55:48 +00:00
Benjamin Peterson
f521b8c6d2
add much better tests for python version information parsing
2009-03-26 18:35:37 +00:00
Benjamin Peterson
c9301355d8
remove uneeded function
2009-03-26 16:32:23 +00:00
Raymond Hettinger
2dc90fdfaf
Separate initialization from clearing.
2009-03-25 22:41:32 +00:00
Benjamin Peterson
2f6f7436aa
this can be slightly less ugly
2009-03-25 21:42:51 +00:00
Benjamin Peterson
a8adceb431
add shorthands for expected failures and unexpected success
2009-03-25 21:24:04 +00:00
Marc-André Lemburg
cbdf15b0e7
News item for the platform.py fix (r70594).
2009-03-25 19:45:33 +00:00
Marc-André Lemburg
a519cfc953
Remove the sys.version_info shortcut, since they cause the APIs
...
to return different information than the _sys_version() output
used in previous Python versions.
This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings
Added more tests for the various platform functions.
2009-03-25 19:44:58 +00:00
Skip Montanaro
9a1337b95e
clarify the type of data returned
2009-03-25 00:52:11 +00:00
Benjamin Peterson
d0cdb2ddf2
another style nit
2009-03-24 23:07:07 +00:00
Benjamin Peterson
a473f00cac
fix newline issue in test summary
2009-03-24 22:56:32 +00:00
Benjamin Peterson
2bf74fd0ac
this is better written using assertRaises
2009-03-24 03:24:56 +00:00
Benjamin Peterson
037154865e
fix typo
2009-03-24 01:11:37 +00:00
Benjamin Peterson
c750d4d761
add new skipping things to __all__
2009-03-24 00:39:24 +00:00
Benjamin Peterson
4e4de33ca9
update docstring
2009-03-24 00:37:12 +00:00
Benjamin Peterson
3e0aa49d3f
remove special metadata
2009-03-24 00:36:16 +00:00
Benjamin Peterson
a7d441de68
some cleanup and modernization
2009-03-24 00:35:20 +00:00
Raymond Hettinger
21b617bd98
Add links to related resources.
2009-03-24 00:17:11 +00:00
Benjamin Peterson
bca248e9a5
update from CVS
2009-03-23 23:19:03 +00:00