We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe0bc8 commit e7db5d1Copy full SHA for e7db5d1
utest/utils/test_argumentparser.py
@@ -221,7 +221,9 @@ def test_get_pythonpath(self):
221
def test_arguments_are_globbed(self):
222
_, args = self.ap.parse_args([__file__.replace('test_', '?????')])
223
assert_equals(args, [__file__])
224
- _, args = self.ap.parse_args([os.path.join(os.path.abspath('.'), '*')])
+ # Needed to ensure that the globbed directory contains files
225
+ globexpr = os.path.join(os.path.abspath('.'), '*')
226
+ _, args = self.ap.parse_args([globexpr])
227
assert_true(len(args) > 1)
228
229
def test_arguments_with_glob_patterns_arent_removed_if_they_dont_match(self):
0 commit comments