Skip to content

Commit

Permalink
fix: Remove the proper attribute after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Sep 17, 2024
1 parent dc022c4 commit fba127d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_extension_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _remove_added_methods() -> Iterator[None]:
(AFG3K, "custom_model_getter_afg3k"),
(AFG3KC, "custom_model_getter_afg3kc"),
(PIDevice, "added_method"),
(TSPDevice, "added_method"),
(TSPDevice, "added_tsp_method"),
):
with contextlib.suppress(AttributeError):
delattr(obj, name)
Expand Down

0 comments on commit fba127d

Please sign in to comment.