Skip to content

Commit 74e0aa2

Browse files
authored
Merge pull request #484 from kalekundert/master
Remove deprecated np.bool alias
2 parents 3584072 + ba90eb9 commit 74e0aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eliot/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def default(self, o):
1919
return float(o)
2020
if isinstance(o, numpy.integer):
2121
return int(o)
22-
if isinstance(o, (numpy.bool, numpy.bool_)):
22+
if isinstance(o, numpy.bool_):
2323
return bool(o)
2424
if isinstance(o, numpy.ndarray):
2525
if o.size > 10000:

0 commit comments

Comments
 (0)