mirror of
https://github.com/python/cpython.git
synced 2025-01-21 07:55:16 +08:00
parent
637c7c475a
commit
4140fb5211
@ -28,9 +28,12 @@ WIN64_MACHINE = True if machine() == "AMD64" else False
|
||||
# tests are only valid up until 6.1
|
||||
HAS_REFLECTION = True if WIN_VER < (6, 1) else False
|
||||
|
||||
test_key_name = "SOFTWARE\\Python Registry Test Key - Delete Me"
|
||||
# Use a per-process key to prevent concurrent test runs (buildbot!) from
|
||||
# stomping on each other.
|
||||
test_key_base = "Python Test Key [%d] - Delete Me" % (os.getpid(),)
|
||||
test_key_name = "SOFTWARE\\" + test_key_base
|
||||
# On OS'es that support reflection we should test with a reflected key
|
||||
test_reflect_key_name = "SOFTWARE\\Classes\\Python Test Key - Delete Me"
|
||||
test_reflect_key_name = "SOFTWARE\\Classes\\" + test_key_base
|
||||
|
||||
test_data = [
|
||||
("Int Value", 45, REG_DWORD),
|
||||
|
@ -124,6 +124,9 @@ IDLE
|
||||
Tests
|
||||
-----
|
||||
|
||||
- Issue #17065: Use process-unique key for winreg tests to avoid failures if
|
||||
test is run multiple times in parallel (eg: on a buildbot host).
|
||||
|
||||
- Issue #12820: add tests for the xml.dom.minicompat module.
|
||||
Patch by John Chandler and Phil Connell.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user