File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ def __init__(
109109 if not isinstance (name , str ):
110110 raise AssertionError ("'name' must be a string" ) # noqa: TRY004
111111
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
113113 if isinstance (sources , str ):
114114 raise AssertionError ( # noqa: TRY004
115115 "'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):
6969 assert ext .name == 'name'
7070
7171 # 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
7373 with pytest .raises (AssertionError ):
7474 Extension ('name' , 'file' )
7575 with pytest .raises (AssertionError ):
You can’t perform that action at this time.
0 commit comments