#NEWLINE# def test_numpybool_( self ) : #NEWLINE# #INDENT# nptrue = np . bool_ ( True ) #NEWLINE# self . assertEqual ( self . encoder . default ( nptrue ) , True ) #NEWLINE# self . assertIsInstance ( self . encoder . default ( nptrue ) , bool )