Skip to content

Commit ddc9f16

Browse files
committed
More tests fix
1 parent ab4a456 commit ddc9f16

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_debugger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def test_standard_breakpoint_self_remove(proc32_64_debug, bptype):
380380
def do_check():
381381
time.sleep(1)
382382
try:
383-
assert proc32_64_debug.peb.Ldr[0].Initialized, "peb.Ldr not yet Initialized"
383+
assert proc32_64_debug.peb.Ldr.contents.Initialized, "peb.Ldr not yet Initialized"
384384
print("[==================] LOADING PYTHON")
385385
proc32_64_debug.execute_python_unsafe("1").wait()
386386
print("[==================] OPEN SELF_FILENAME1")
@@ -442,7 +442,7 @@ def test_standard_breakpoint_remove(proc32_64_debug, bptype):
442442
def do_check():
443443
time.sleep(1)
444444
try:
445-
assert proc32_64_debug.peb.Ldr[0].Initialized, "peb.Ldr not yet Initialized"
445+
assert proc32_64_debug.peb.Ldr.contents.Initialized, "peb.Ldr not yet Initialized"
446446
print("[==================] LOADING PYTHON")
447447
assert list(d.breakpoints.values())[0]
448448
proc32_64_debug.execute_python_unsafe("1").wait()

0 commit comments

Comments
 (0)