From 2bc0405d1c8cff5f7ade1fbac67667c8b5d0392f Mon Sep 17 00:00:00 2001 From: seki Date: Sun, 13 Mar 2005 01:10:24 +0000 Subject: remove test_gc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rinda/test_rinda.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test/rinda') diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 7ac6918819..d2b2c7f17e 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -6,8 +6,6 @@ require 'rinda/tuplespace' require 'singleton' -require 'weakref' - module Rinda class MockClock @@ -501,14 +499,6 @@ class TupleSpaceTest < Test::Unit::TestCase ThreadGroup.new.add(Thread.current) @ts = Rinda::TupleSpace.new(1) end - - def test_gc - w = WeakRef.new(Rinda::TupleSpace.new) - GC.start - assert_raises(WeakRef::RefError) do - w.__getobj__ - end - end end class TupleSpaceProxyTest < Test::Unit::TestCase -- cgit v1.2.3