-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
ETS BacklogGood issue for ETS team members to look atGood issue for ETS team members to look at
Description
The lines
enable/kiva/fonttools/font_manager.py
Lines 221 to 225 in 6cf525c
| try: | |
| obj + '' | |
| except Exception: | |
| return False | |
| return True |
are unreachable due to an indentation bug since they most likely should be reachable.
The if statement
enable/kiva/fonttools/font_manager.py
Lines 217 to 220 in 6cf525c
| if obj.ndim == 0 and obj.dtype.kind in 'SU': | |
| return True | |
| else: | |
| return False |
can be simplified. The if statement can be replaced with
return bool(obj.ndim == 0 and obj.dtype.kind in 'SU')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ETS BacklogGood issue for ETS team members to look atGood issue for ETS team members to look at