Commit Graph

39 Commits

Author SHA1 Message Date
Serhiy Storchaka
b13a20f507 bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123) 2018-12-20 09:34:51 +02:00
Martin Panter
0b7d84de6b Issue #27171: Merge typo fixes from 3.5 2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
Serhiy Storchaka
e437a10d15 Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
Victor Stinner
abc649ddbe Issue #14107: fix bigmem tests on str.capitalize(), str.swapcase() and
str.title(). Compute correctly how much memory is required for the test
(memuse).
2012-02-25 00:43:27 +01:00
Antoine Pitrou
0959554b39 Fix memory consumption estimate in test_unicode_repr_wide
(on Martin's buildbot it still seems a bit inaccurate)
2011-10-07 02:35:00 +02:00
Antoine Pitrou
399df55496 Fix expected memory consumption for test_translate 2011-10-06 22:41:08 +02:00
Antoine Pitrou
b6080b6967 Fix size estimate for test_unicode_repr 2011-10-06 22:32:10 +02:00
Antoine Pitrou
a5d9917d21 Fix test_splitlines to reach its size estimate 2011-10-06 22:19:07 +02:00
Antoine Pitrou
f81ad6fa5a Make the formula for this estimate more explicit 2011-10-06 22:09:18 +02:00
Antoine Pitrou
8ac582f746 Fix size estimation for test_bigmem.StrTest.test_format 2011-10-06 21:55:51 +02:00
Antoine Pitrou
de21f84680 Fix the expected memory consumption for some tests 2011-10-06 21:46:23 +02:00
Antoine Pitrou
382e8b515c An embarassing litle typo 2011-10-04 16:07:27 +02:00
Antoine Pitrou
87a484caf5 Migrate test_bigmem to PEP 393-compliant size calculations (hopefully) 2011-10-04 15:55:44 +02:00
Antoine Pitrou
1a3ff48c55 Start fixing test_bigmem:
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
2011-10-04 10:28:37 +02:00
Antoine Pitrou
94190bb6e7 Start fixing test_bigmem:
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
2011-10-04 10:22:36 +02:00
Thomas Wouters
518b5aea1a Revert the Lib/test/test_bigmem.py changes from commit 17891566a478 (and a
few other assertEqual tests that snuck in), and expand the docstrings and
comments explaining why and how these tests are supposed to work.
2011-03-25 11:42:37 +01:00
Marc-André Lemburg
8f36af7a4c Normalize the encoding names for Latin-1 and UTF-8 to
'latin-1' and 'utf-8'.

These are optimized in the Python Unicode implementation
to result in more direct processing, bypassing the codec
registry.

Also see issue11303.
2011-02-25 15:42:01 +00:00
Antoine Pitrou
45545f79c9 Fix the expected memory use of utf-8 encoding. Also, release the
one reference to a huge object even when an exception is raised.
2011-01-12 20:46:37 +00:00
Ezio Melotti
b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 2010-11-20 19:04:17 +00:00
Antoine Pitrou
ea510eba1a Fix memory consumption advertised by some test cases 2010-11-08 21:40:13 +00:00
Florent Xicluna
faa663f03d Fixed a failure in test_bigmem.
Merged revision 79059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79059 | florent.xicluna | 2010-03-18 22:50:06 +0100 (jeu, 18 mar 2010) | 2 lines

  Issue #8024: Update the Unicode database to 5.2
........
2010-03-19 13:37:08 +00:00
Ezio Melotti
b58e0bd8bb use assert[Not]In where appropriate 2010-01-23 15:40:09 +00:00
Benjamin Peterson
577473fe68 use assert[Not]In where appropriate
A patch from Dave Malcolm.
2010-01-19 00:09:57 +00:00
Benjamin Peterson
c9c0f201fe convert old fail* assertions to assert* 2009-06-30 23:06:06 +00:00