bpo-35920: Windows 10 ARM32 platform support (GH-11774)

This commit is contained in:
Paul Monson 2019-04-25 11:36:45 -07:00 committed by Steve Dower
parent 8c3ecc6bac
commit 62dfd7d6fe
17 changed files with 134 additions and 15 deletions

View file

@ -5,7 +5,7 @@ import os, sys, errno
import unittest
from test import support
import threading
from platform import machine
from platform import machine, win32_edition
# Do this first so test will be skipped if module doesn't exist
support.import_module('winreg', required_on=['win'])
@ -399,6 +399,7 @@ class Win64WinregTests(BaseWinregTests):
DeleteKeyEx(key=HKEY_CURRENT_USER, sub_key=test_key_name,
access=KEY_ALL_ACCESS, reserved=0)
@unittest.skipIf(win32_edition() in ('WindowsCoreHeadless', 'IoTEdgeOS'), "APIs not available on WindowsCoreHeadless")
def test_reflection_functions(self):
# Test that we can call the query, enable, and disable functions
# on a key which isn't on the reflection list with no consequences.