summaryrefslogtreecommitdiff
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-23 01:25:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-23 01:25:25 +0000
commit0c4003dad75b0083d0dbd72c364d446a01936187 (patch)
treefaa03a4654318ce918649e54dcfc013913c6ae24 /test/ruby/test_thread.rb
parent8bec48f2a4ac52604aa6ba940c3d1a3206a6c672 (diff)
* test/ruby/test_thread.rb: removed not-backported features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r--test/ruby/test_thread.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index b1cfd33bfb..95302d7dcc 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -362,15 +362,6 @@ class TestThread < Test::Unit::TestCase
m.unlock
end
-
- def test_recursive_error
- o = Object.new
- def o.inspect
- Thread.current[:__recursive_key__][:inspect] = nil
- super
- end
- assert_raise(TypeError) { [o].inspect }
- end
end
class TestThreadGroup < Test::Unit::TestCase
@@ -429,14 +420,4 @@ class TestThreadGroup < Test::Unit::TestCase
c.class_eval { def initialize; end }
assert_raise(ThreadError) { c.new.start }
end
-
- def test_backtrace
- Thread.new{
- assert_equal(Array, Thread.main.backtrace.class)
- }.join
-
- t = Thread.new{}
- t.join
- assert_equal(nil, t.backtrace)
- end
end