File "/lib/python3.8/site-packages/mamba/nodetransformers.py", line 81, in _get_name
return context_expr.func.value.id
AttributeError: 'Attribute' object has no attribute 'id'
How to reproduce it
with context("test context"):
with it("test case"):
with mock.patch.object(some_object, "some_attribute") as mocked_attribute:
print("x")
Hi there! Thank you for creating mamba!
Describe the bug
Mamba fails with
How to reproduce it
Expected behavior
It should not fail.
Environment