Skip to content

Commit e7db5d1

Browse files
committed
final try
1 parent cbe0bc8 commit e7db5d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utest/utils/test_argumentparser.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ def test_get_pythonpath(self):
221221
def test_arguments_are_globbed(self):
222222
_, args = self.ap.parse_args([__file__.replace('test_', '?????')])
223223
assert_equals(args, [__file__])
224-
_, args = self.ap.parse_args([os.path.join(os.path.abspath('.'), '*')])
224+
# Needed to ensure that the globbed directory contains files
225+
globexpr = os.path.join(os.path.abspath('.'), '*')
226+
_, args = self.ap.parse_args([globexpr])
225227
assert_true(len(args) > 1)
226228

227229
def test_arguments_with_glob_patterns_arent_removed_if_they_dont_match(self):

0 commit comments

Comments
 (0)