summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_winreg.py
Commit message (Collapse)AuthorAgeFilesLines
* Try other approach to fix issue #15334.Antoine Pitrou2012-07-131-3/+8
|
* Issue #15334: skip test_dynamic_key when run in non-interactive mode.Antoine Pitrou2012-07-131-0/+1
| | | | Patch by Jeremy Kloth.
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-17/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* #9289: Workaround for test_long_key(test_winreg) failure on Win2000.Hirokazu Yamamoto2010-10-221-2/+4
| | | | | RegDeleteKeyA fails with ERROR_MORE_DATA if the length of 2nd parameter exceeds 260.
* Fix #2810 - handle the case where some registry calls returnBrian Curtin2010-05-251-0/+53
| | | | | | ERROR_MORE_DATA, requiring another call to get the remaining data. Patch by Daniel Stutzbach
* Fix assertRaises usage on reflection functions which should raiseBrian Curtin2010-04-031-5/+8
| | | | NotImplementedError on Windows XP and below.
* Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests.Brian Curtin2010-04-021-23/+178
| | | | | | | | | *ReflectionKey functions used to not be documented or tested, but they are now sufficiently documented and tested on platforms where they apply. Additionally, fixed a bug in QueryReflectionKey which was returning an incorrect value. All tests pass from XP through Windows 7, on 32 and 64-bit platforms.
* use assert[Not]In where appropriateEzio Melotti2010-01-231-2/+2
|
* backport r73273Benjamin Peterson2009-06-071-0/+21
|
* A few more test skips via import_module, and change import_module toR. David Murray2009-03-311-2/+2
| | | | | | | return the error message produced by importlib, so that if an import in the package whose import is being wrapped is what failed the skip message will contain the name of that module instead of the name of the wrapped module. Also fixed formatting of some previous comments.
* Add import_function method to test.test_support, and modify a number ofR. David Murray2009-03-301-2/+5
| | | | | | | | tests that expect to be skipped if imports fail or functions don't exist to use import_function and import_module. The ultimate goal is to change regrtest to not skip automatically on ImportError. Checking in now to make sure the buldbots don't show any errors on platforms I can't direct test on.
* 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