check the value of all traits when each trait change is triggered This verifies that the values are not sensitive to dict ordering when loaded from kwargs
(self, name, old, new)
| 2417 | l = Unicode() # noqa: E741 |
| 2418 | |
| 2419 | def _notify(self, name, old, new): |
| 2420 | """check the value of all traits when each trait change is triggered |
| 2421 | |
| 2422 | This verifies that the values are not sensitive |
| 2423 | to dict ordering when loaded from kwargs |
| 2424 | """ |
| 2425 | # check the value of the other traits |
| 2426 | # when a given trait change notification fires |
| 2427 | self.notified[name] = {c: getattr(self, c) for c in "abcdefghijkl"} |
| 2428 | |
| 2429 | def __init__(self, **kwargs): |
| 2430 | self.on_trait_change(self._notify) |
nothing calls this directly
no outgoing calls
no test coverage detected