Skip to content

Commit

Permalink
Replace QStylePalette by SpyderPalette
Browse files Browse the repository at this point in the history
This follows the new API after PR spyder-ide/spyder#21844.
  • Loading branch information
jitseniesen committed Apr 12, 2024
1 parent 929d53a commit b986ddb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyder_unittest/widgets/datatree.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from qtpy.QtWidgets import QMenu, QTreeView
from spyder.api.config.mixins import SpyderConfigurationAccessor
from spyder.config.base import get_translation
from spyder.utils.palette import QStylePalette, SpyderPalette
from spyder.utils.palette import SpyderPalette
from spyder.utils.qthelpers import create_action

# Local imports
Expand All @@ -33,8 +33,8 @@
Category.OK: SpyderPalette.COLOR_SUCCESS_1,
Category.FAIL: SpyderPalette.COLOR_ERROR_1,
Category.SKIP: SpyderPalette.COLOR_WARN_1,
Category.PENDING: QStylePalette.COLOR_BACKGROUND_1,
Category.COVERAGE: QStylePalette.COLOR_ACCENT_1
Category.PENDING: SpyderPalette.COLOR_BACKGROUND_1,
Category.COVERAGE: SpyderPalette.COLOR_ACCENT_1
}

STATUS_COLUMN = 0
Expand Down

0 comments on commit b986ddb

Please sign in to comment.