1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest
normal 9bb7dfa247 normalize reference to Timeout::Error
From: John Bachir <j@jjb.cc>

* bootstraptest/test_io.rb (assert_finish):
  normalize rescue for Timeout::Error
* lib/net/ftp.rb (Net#read_timeout): ditto for doc
* lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
* lib/webrick/httprequest.rb (_read_data): ditto for rescue
* sample/timeout.rb (p timeout): ditto for call
* test/drb/drbtest.rb (test_06_timeout): ditto
* test/ruby/test_readpartial.rb (test_open_pipe): ditto
* test/thread/test_queue.rb (test_queue_thread_raise): ditto
* thread.c (rb_thread_s_handle_interrupt): ditto for doc
  [ruby-core:65481] [misc #10339]

TimeoutError is a legacy constant, Timeout::Error is the canonical constant.
This patch normalizes all code and comments to reference Timeout::Error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-07 20:00:09 +00:00
..
pending.rb
runner.rb Remove trailing white spaces. 2014-06-21 23:43:50 +00:00
test_attr.rb
test_autoload.rb
test_block.rb
test_class.rb
test_eval.rb
test_exception.rb
test_finalizer.rb
test_flip.rb
test_flow.rb
test_fork.rb test_fork.rb: wait signals 2014-06-28 18:12:47 +00:00
test_gc.rb
test_io.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
test_jump.rb
test_literal.rb fix typo [Fix GH-603] 2014-04-28 15:20:28 +00:00
test_literal_suffix.rb
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb
test_objectspace.rb
test_proc.rb
test_struct.rb
test_syntax.rb
test_thread.rb wait until the thread is stopped. 2014-09-21 04:54:46 +00:00