Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Not all platforms show a 0x prefix for memory addresses.
  • Loading branch information
ericsnowcurrently committed May 22, 2017
commit 808aff4c01a0642431ab5c5daa4878e062c76bd4
4 changes: 2 additions & 2 deletions Lib/test/test_capi.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ def test_subinterps(self):
# --- Pass 1 ---
# ...

interp_pat = (r"^interp (\d+) <(0x[\da-f]+)>, "
r"thread state <(0x[\da-f]+)>: "
interp_pat = (r"^interp (\d+) <((?:0x)?[\da-fA-F]+)>, "
r"thread state <((?:0x)?[\da-fA-F]+)>: "
r"id\(modules\) = ([\d]+)$")
Interp = namedtuple("Interp", "id interp tstate modules")

Expand Down