#NEWLINE# def test_validate_on_invalid_data_type( self ) : #NEWLINE# #INDENT# '\n        Test that a TypeError is raised when an invalid data type is used to\n        construct a SecretData.\n        ' #NEWLINE# args = ( self . bytes_a , 'invalid' ) #NEWLINE# self . assertRaises ( TypeError , SecretData , * args )