Thomas Wouters
49fd7fa443
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
...
number of tests, all because of the codecs/_multibytecodecs issue described
here (it's not a Py3K issue, just something Py3K discovers):
http://mail.python.org/pipermail/python-dev/2006-April/064051.html
Hye-Shik Chang promised to look for a fix, so no need to fix it here. The
tests that are expected to break are:
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecs
test_multibytecodec
This merge fixes an actual test failure (test_weakref) in this branch,
though, so I believe merging is the right thing to do anyway.
2006-04-21 10:40:58 +00:00
Thomas Wouters
9ada3d6e29
Merge trunk up to 43069, putting re.py back and hopefully making the branch
...
usable again.
2006-04-21 09:47:09 +00:00
Thomas Wouters
a977329b6f
Merge part of the trunk changes into the p3yk branch. This merges from 43030
...
(branch-creation time) up to 43067. 43068 and 43069 contain a little
swapping action between re.py and sre.py, and this mightily confuses svn
merge, so later changes are going in separately.
This merge should break no additional tests.
The last-merged revision is going in a 'last_merge' property on '.' (the
branch directory.) Arbitrarily chosen, really; if there's a BCP for this, I
couldn't find it, but we can easily change it afterwards ;)
2006-04-21 09:43:23 +00:00
Tim Peters
922dd7d49d
When the new -w option (yay! great idea) reruns a
...
failed test, first display the name of the test (else
it's not always clear from the output which test is
getting run).
2006-03-10 23:37:10 +00:00
Martin v. Löwis
04824ce8ed
Add regrtest -w option.
2006-03-10 21:26:16 +00:00
Neal Norwitz
14ca327f99
Instead of printing the exception when you interrupt a test (Ctrl-C),
...
print the status so far and suppress printing the exception (but still exit).
2006-02-28 18:05:43 +00:00
Hye-Shik Chang
aaa2f1dea7
Patch #1276356 : Implement new resource "urlfetch" for regrtest.
...
This enables even impatient people to run tests that require remote
files such as test_normalization and test_codecmaps_*.
2005-12-10 17:44:27 +00:00
Neal Norwitz
545d4962f5
Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is sometimes stable, at least in isolation)
2005-11-25 02:55:49 +00:00
Guido van Rossum
8ee3e5aa93
- Changes donated by Elemental Security to make it work on AIX 5.3
...
with IBM's 64-bit compiler (SF patch #1284289 ). This also closes SF
bug #105470 : test_pwd fails on 64bit system (Opteron).
2005-09-14 18:09:42 +00:00
Gregory P. Smith
f21a5f7739
[ sf.net patch # 1121611 ]
...
A new hashlib module to replace the md5 and sha modules. It adds
support for additional secure hashes such as SHA-256 and SHA-512. The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available. The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
2005-08-21 18:45:59 +00:00
Hye-Shik Chang
4e422817eb
Add support for FreeBSD 7.
2005-07-17 02:36:59 +00:00
Michael W. Hudson
1a7285250b
yet another cache to clear when leak hunting.
2005-06-14 09:31:28 +00:00
Raymond Hettinger
68c0453418
Add untokenize() function to allow full round-trip tokenization.
...
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
2005-06-10 11:05:19 +00:00
Tim Peters
eba28bea9b
Whitespace normalization.
2005-03-28 01:08:02 +00:00
Peter Astrand
f7f1bb7ff5
Only run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes #1124637
2005-03-03 20:47:37 +00:00
Martin v. Löwis
fba7369824
Patch #1050475 : Fix various x86_64 build issues
...
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.
2004-11-13 11:13:35 +00:00
Walter Dörwald
aee4da6b83
Add options to regrtest.py to make it possible to specify where to put
...
the coverage files when -T is used.
2004-11-12 18:51:27 +00:00
Andrew M. Kuchling
010b887cf6
Missed some occurrences of test_mpz
2004-08-31 13:45:22 +00:00
Andrew M. Kuchling
163f800095
Remove tests for mpz, rotor, xreadlines
2004-08-31 13:29:03 +00:00
Hye-Shik Chang
f64700a512
Add support for FreeBSD 6.
2004-08-18 15:13:41 +00:00
Michael W. Hudson
e667e66507
Report refleaks to stderr as the tests run as well as logging them
...
to a file.
2004-08-12 18:27:48 +00:00
Jeremy Hylton
4336eda886
Add a trivial test for the compiler package, guarded by compiler resource.
...
This test is insanely slow, so it requires a resource. On my machine,
it also appears to dump core. I think the problem is a stack
overflow, but haven't been able to confirm.
2004-08-07 19:25:33 +00:00
Tim Peters
cea2cc4a21
test_threadsignals is an expected skip on win32.
2004-08-04 02:32:03 +00:00
Michael W. Hudson
61147f63d9
Check in my refleak hunting code.
...
It's not the 100% solution -- it may not even be the 90% solution -- but
it does seem to help.
2004-08-03 11:33:28 +00:00
Martin v. Löwis
32d0c1b458
Patch #995782 : Add FreeBSD 5 expectations. Will backport to 2.3.
2004-07-26 12:09:13 +00:00
Hye-Shik Chang
5ef601854e
test_codecmaps_hk is also expected to be skipped when a mapping file
...
isn't available. (Spotted by Raymond Hettinger)
2004-07-19 06:39:37 +00:00
Raymond Hettinger
7c85fa4a52
Move Decimal from the sandbox into production.
2004-07-01 11:01:35 +00:00
Skip Montanaro
0179a18034
add -L flag to cause leaks(1) command to run just before exit
2004-06-06 15:53:18 +00:00
Barry Warsaw
3b6d025d9b
Patch #868499 , adds -T option for code coverage. The implementation is a
...
fairly simpleminded adaptation of Zope3's test.py -T flag.
I also changed some booleans to use True/False where appropriate.
2004-02-07 22:43:03 +00:00
Hye-Shik Chang
3e2a306920
Add CJK codecs support as discussed on python-dev. (SF #873597 )
...
Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!
2004-01-17 14:29:29 +00:00
Guido van Rossum
944a6c32d7
test_applesingle is an expected skip almost anywhere.
2003-11-20 22:11:29 +00:00
Raymond Hettinger
901dc98316
test_applesingle is an expected skip on Win32
2003-11-20 19:02:02 +00:00
Raymond Hettinger
a690a9967e
* Migrate set() and frozenset() from the sandbox.
...
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.
Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
2003-11-16 16:17:49 +00:00
Brett Cannon
2bfb94c871
Add test__locale to expected skip list for Darwin.
2003-10-13 04:27:47 +00:00
Tim Peters
c7c516aa51
test__locale (two underscores) can't pass on Windows: RADIXCHAR doesn't
...
exist, and neither do any of the specific 5-letter locale names the test
is looking for.
2003-09-20 22:06:13 +00:00
Tim Peters
5943b4ac10
Restored commented-out line checked in by mistake.
2003-07-23 00:30:39 +00:00
Tim Peters
9390dd5b4a
locale-restoration code: Don't leave comparison to None implicit. For
...
all I know, the original locale may be '' (I don't think that's possible,
but ...), and if so we would certainly want to restore it.
2003-07-23 00:30:11 +00:00
Jason Tishler
c23f39ca9d
Patch #775784 : YA Cygwin expected regression test skip patch
...
This patch just adds test_ioctl to the list of expected skips for Cygwin.
2003-07-22 18:35:58 +00:00
Martin v. Löwis
56f88113b7
Patch #746801 : FreeBSD 4 expected failures, by Charles Swiger.
2003-06-07 20:01:37 +00:00
Raymond Hettinger
74e67661a6
User cStringIO instead of StringIO.
2003-05-17 20:44:12 +00:00
Martin v. Löwis
a94568a753
Patch #734231 : Update RiscOS support. In particular, correct
...
riscospath.extsep, and use os.extsep throughout.
2003-05-10 07:36:56 +00:00
Skip Montanaro
823ba28b0d
the new bsddb185 module is an expected skip on most platforms (this may not
...
be needed - just being anal)
2003-05-06 20:36:24 +00:00
Skip Montanaro
142da98beb
remove test_socketserver from the skip lists
2003-04-24 19:05:41 +00:00
Martin v. Löwis
7fb697b5d2
Revert Patch #670715 : iconv support.
2003-04-03 04:49:12 +00:00
Neal Norwitz
7035c98c5c
Move Mac/Windows specific expected skips from each platform list
...
to the ExpectedSkips class. Add test_scriptpackages to Mac only list.
Add test_unicode_file to Windows only list.
2003-03-29 22:01:17 +00:00
Guido van Rossum
315aa361fc
Add 'audio' resource.
...
ALERT! A month ago or so I made test_ossaudiodev.py require the
'audio' resource, but I didn't make the necessary changes to
regrtest.py. This means that *nobody* has been testing the oss module
all that time!
2003-03-11 14:46:48 +00:00
Jack Jansen
c4d6bdd58a
Test_ioctl and test_tarfile are skipped on MacOS9.
2003-03-07 15:38:11 +00:00
Tim Peters
fd8e6e5990
test_ioctl is an expected skip on Windows.
2003-03-04 00:26:38 +00:00
Neal Norwitz
55b61d21d8
Fix SF bugs #692951 and 692988, test_timeout.py needs 'network' resource
...
require -u network to run test_timeout since
it fails when not connected to a network.
2003-02-28 19:57:03 +00:00
Fred Drake
479d280218
The macfs, macostools, and plistlib should not be expected to run
...
beyond Mac OS and Darwin. I'm not even sure they should be run on
Darwin, but I'll let someone more knowledgable on that tell us.
2003-02-26 19:51:23 +00:00