mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert "introduce check code for mysterious EBADF"
This reverts commit 7864efa105
.
This commit is contained in:
parent
d1424f7f7e
commit
8a49c7e481
1 changed files with 2 additions and 15 deletions
|
@ -85,21 +85,8 @@ module Test
|
|||
Test::Unit::Runner.output = orig_stdout
|
||||
$stdin = orig_stdin if orig_stdin
|
||||
$stdout = orig_stdout if orig_stdout
|
||||
|
||||
# To figure out which suite raises EBADF error.
|
||||
begin
|
||||
o.close if o && !o.closed?
|
||||
rescue Exception => e
|
||||
STDERR.puts "#{e} at #{suite.name} (o)"
|
||||
raise
|
||||
end
|
||||
|
||||
begin
|
||||
i.close if i && !i.closed?
|
||||
rescue Exception => e
|
||||
STDERR.puts "#{e} at #{suite.name} (i)"
|
||||
raise
|
||||
end
|
||||
o.close if o && !o.closed?
|
||||
i.close if i && !i.closed?
|
||||
end
|
||||
|
||||
def run(args = []) # :nodoc:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue