'Verify strict token type parsing only when configured.'

def test_json_token_notype(self):

    self.assertEqual(parse_token_response(self.json_notype), self.json_notype_dict)
    try:
        os.environ[u'OAUTHLIB_STRICT_TOKEN_TYPE'] = u'1'
        self.assertRaises(MissingTokenTypeError, parse_token_response, self.json_notype)
    finally:
        del os.environ[u'OAUTHLIB_STRICT_TOKEN_TYPE']
