#NEWLINE# def test_remove_scopes( self ) : #NEWLINE# #INDENT# 'Test the ability to remove scopes from an authorization.' #NEWLINE# self . basic_login ( ) #NEWLINE# cassette_name = self . cassette_name ( 'remove_scopes' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# auth = self . gh . authorization ( 10716101 ) #NEWLINE# assert isinstance ( auth , github3 . auths . Authorization ) #NEWLINE# assert ( auth . remove_scopes ( [ 'user' , 'public_repo' ] ) is True )