File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ def __init__(
109
109
if not isinstance (name , str ):
110
110
raise AssertionError ("'name' must be a string" ) # noqa: TRY004
111
111
112
- # we handle the string case first; though strings are iterable, we disallow them
112
+ # handle the string case first; since strings are iterable, disallow them
113
113
if isinstance (sources , str ):
114
114
raise AssertionError ( # noqa: TRY004
115
115
"'sources' must be an iterable of strings or PathLike objects, not a string"
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def test_extension_init(self):
69
69
assert ext .name == 'name'
70
70
71
71
# the second argument, which is the list of files, must
72
- # be a list of strings or PathLike objects, and not a string
72
+ # be an iterable of strings or PathLike objects, and not a string
73
73
with pytest .raises (AssertionError ):
74
74
Extension ('name' , 'file' )
75
75
with pytest .raises (AssertionError ):
You can’t perform that action at this time.
0 commit comments