FIX: Use trait_set instead of set#82
Conversation
Codecov Report
@@ Coverage Diff @@
## master #82 +/- ##
==========================================
- Coverage 40.77% 40.46% -0.32%
==========================================
Files 240 240
Lines 9044 8910 -134
Branches 1197 1157 -40
==========================================
- Hits 3688 3605 -83
+ Misses 5212 5159 -53
- Partials 144 146 +2
Continue to review full report at Codecov.
|
|
Thanks for this. A quick Are you interested in fixing any of these in this PR? If so, I'll wait, but if not, this looks good to merge.
No, no need; I haven't checked what ancient version of Traits would need |
|
@mdickinson done |
|
@larsoner Beautiful! Thank you. |
Fixes warnings of the form:
Let me know if this needs to be a
try: self.trait_set(...); except AttributeError: self.set(...)for backward compat and I can change it.