def test_glob_directory_with_trailing_slash(self):
        # We are verifying that when there is wildcard pattern which
        # ends with os.sep doesn't blow up.
        paths = glob.glob('*' + os.sep)
        self.assertEqual(len(paths), 4)
        self.assertTrue(all([os.sep in path for path in paths]))
dataset/ETHPy150Open jazzband/django-pipeline/tests/tests/test_glob.py/GlobTest.test_glob_directory_with_trailing_slash/original