enthought / enthought/traits

Provide methods to save and restore state of the global ETSConfig

Open
#1,734 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

For testing purposes, it's often convenient to make temporary changes to the state of the global `ETSConfig` object and then undo those changes in the test cleanup. This generally involves digging into the `ETSConfig` internals.

This could be made easier and less fragile with the addition of `getstate` and `setstate` methods on `ETSConfig`. (Or possibly a `state` property that's readable and writeable.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.