File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ def process_architecture_only(target_archi):
2828 return pytest .mark .skipif (windows .current_process .architecture != target_archi ,
2929 reason = "Test for {0} architecture process only" .format (target_archi ))
3030
31+ def system_architecture_only (target_archi ):
32+ return pytest .mark .skipif (windows .system .architecture != target_archi ,
33+ reason = "Test for {0} architecture system only" .format (target_archi ))
3134
3235check_for_gc_garbage = pytest .mark .usefixtures ("check_for_gc_garbage" )
3336check_for_handle_leak = pytest .mark .usefixtures ("check_for_handle_leak" )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def test_remote_pebsyswow(self, proc32):
6161 assert "Wow64LdrpInitialize" in wow64 .pe .exports
6262
6363
64- @process_architecture_only (gdef .IMAGE_FILE_MACHINE_AMD64 )
64+ @system_architecture_only (gdef .PROCESSOR_ARCHITECTURE_AMD64 )
6565 def test_getset_syswow_context (self , proc32 ):
6666 addr = proc32 .virtual_alloc (0x1000 )
6767 remote_python_code = """
You can’t perform that action at this time.
0 commit comments