Skip to content

Commit cf09ed8

Browse files
committed
More investigation of apisetmap test bug
1 parent 1509f7b commit cf09ed8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_apisetmap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ def verify_apisetmap_parsing(apisetmap_base, version=None):
3232
# Verify that at least one entry resolve to kernel32.dll
3333
# This ensure that the ApiSetMap parsing works at least a little
3434
assert "kernel32.dll" in apisetmap_dict.values()
35+
print("Listing APISETMAP dlls")
3536
for dll in sorted(apisetmap_dict):
3637
print(dll)
38+
if not any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX):
39+
print("Dll <dll> has unknown prefix".format(dll=dll))
3740
assert all(any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX) for dll in apisetmap_dict)
3841
# This first key was found in most of the tested version by hand
3942
# MS-Win found on: 6.1.7600 (Win7)

0 commit comments

Comments
 (0)