Skip to content

Commit

Permalink
Test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed Jul 15, 2024
1 parent 679df32 commit 951cb42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions envisage/ui/tasks/tests/test_preferences_pane.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def test_no_preference_changes_without_apply(self):
self.assertIsNone(application_preferences.get("app.color"))
pane = MyPreferencesPane(model=helper)

# The trait_context method triggers the problematic clone_traits
# operation.
# The trait_context method (called as part of creating the TraitsUI UI)
# triggers the problematic clone_traits operation.
pane.trait_context()["object"]

# At this point, the application preferences should still not
Expand Down

0 comments on commit 951cb42

Please sign in to comment.