File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -118,18 +118,7 @@ def test_log_suppress
118118 dev = StringIO . new ( "" )
119119 $stderr = dev
120120 Whisper ::Context . new ( "base.en" )
121-
122- # Filter out any lines starting with "Downloading" or containing only dots.
123- # The reason for this is that I think the recent migration to Huggingface
124- # Xet might have changed the downloading behavior. There is now a redirect
125- # to a different URL, which causes the download to be retried even if the
126- # file is already downloaded.
127- # TODO(danbev) Remove this when a proper fix is in place.
128- filtered_output = dev . string . lines . reject do |line |
129- line . start_with? ( "Downloading" ) || line . strip =~ /^\. +$/
130- end . join
131-
132- assert_empty filtered_output , "Expected no output, but got: #{ filtered_output . inspect } "
121+ assert_empty dev . string
133122 ensure
134123 $stderr = stderr
135124 end
You can’t perform that action at this time.
0 commit comments