def test_isGlobbingExpressionGlob(self):
        """
        _isGlobbingExpression will return True for segments which contains
        globbing characters in the last segment part (filename).
        """
        self.assertTrue(ftp._isGlobbingExpression(['ignore', '*.txt']))
        self.assertTrue(ftp._isGlobbingExpression(['ignore', '[a-b].txt']))
        self.assertTrue(ftp._isGlobbingExpression(['ignore', 'fil?.txt']))

        _isGlobbingExpression will return True for segments which contains
        globbing characters in the last segment part (filename).
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py