You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "pfp/tests/test_struct_union_2.py", line 479, in test_struct_set_value
dom.bytes._pfp__set_value([ord("x"), ord("y"), ord("z")])
File "pfp/tests/../pfp/fields.py", line 835, in _pfp__set_value
return modified_watches
NameError: name 'modified_watches' is not defined
Expected Behavior
Calling _pfp__set_value should replace the current struct value with the argument, overwriting the struct's children.
The text was updated successfully, but these errors were encountered:
Describe the bug
Calling
fields.Struct._pfp__set_value
always results in aNameError
exception. This is because of a typo in a variable name in this function.To Reproduce
Here is a test reproducing the error:
resulting in the following error:
Expected Behavior
Calling
_pfp__set_value
should replace the current struct value with the argument, overwriting the struct's children.The text was updated successfully, but these errors were encountered: