summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_winreg.py
Commit message (Collapse)AuthorAgeFilesLines
* Added __enter__ and __exit__ functions to HKEY objectChristian Heimes2008-01-081-20/+25
| | | | Added ExpandEnvironmentStrings to the _winreg module.
* * Skip test_pipes on non-POSIX.Georg Brandl2007-08-301-2/+1
| | | | * Don't raise TestSkipped within a test function.
* Patch #1006: port test_winreg to unittest.Georg Brandl2007-08-241-130/+149
|
* Patch #1448199: Release GIL around ConnectRegistry.Martin v. Löwis2006-07-241-0/+3
|
* Reduce the size of Big String and Big Binary tests to 2**14 (minus oneGuido van Rossum2003-12-031-2/+2
| | | | | | | for Big String). This should make the tests pass on Win98SE. Note that the docs only promise lengths up to 2048. Unfortunately this no longer tests for the segfault I was seeing earlier, but I'm confident I've nailed that one. :-) Fixes SF 852281. Will backport to 2.3.
* Add testcases for _winreg segfault (SF 851056).Guido van Rossum2003-11-301-1/+3
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Patch #445762: Support --disable-unicodeMartin v. Löwis2001-08-171-5/+8
| | | | | | | | - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-0/+2
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-14/+14
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-1/+0
|
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-3/+3
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Removed some tabs.Paul Prescod2000-07-041-6/+6
|
* The low-level interface is now in _winreg; update the import here.Fred Drake2000-06-291-1/+1
|
* typos fixed by Rob HooftJeremy Hylton2000-06-281-1/+1
|
* Mark Hammond: Uncomment call to delete test data when done.Fred Drake2000-04-011-1/+1
|
* Mark Hammond: test suite for new winreg module.Guido van Rossum2000-03-281-0/+147