In article <20040206132332.83676445E6E / helium.ruby-lang.org>,
  nahi / ruby-lang.org (nahi) writes:

> nahi        Fri, 6 Feb 2004 13:23:32 +0000
>
>   Modified files:
>     ruby:
>       ChangeLog
>     ruby/lib:
>       pp.rb
>   Log:
>             * lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
>               variable which is defined in the test.
>   
>   Revision    Changes    Path
>   1.2872      +5   -0    ruby/ChangeLog
>     http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2871&r2=1.2872
>   1.32        +1   -0    ruby/lib/pp.rb
>     http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/pp.rb?cvsroot=src&r1=1.31&r2=1.32

えぇと、これは

% cvs diff -B4 -r1.3{12} lib/pp.rb
Index: lib/pp.rb
===================================================================
RCS file: /src/ruby/lib/pp.rb,v
retrieving revision 1.31
retrieving revision 1.32
diff -p -u -B -4 -r1.31 -r1.32
--- lib/pp.rb   5 Feb 2004 14:59:45 -0000       1.31
+++ lib/pp.rb   6 Feb 2004 13:23:32 -0000       1.32
@@ -540,8 +540,9 @@ if __FILE__ == $0
       a = 1.0
       a.instance_eval { @a = nil }
       result = PP.pp(a, '')
       assert_equal("#{a.inspect}\n", result)
+      a.instance_eval { remove_instance_variable("@a") }
     end
     
     def test_to_s_without_iv
       a = Object.new

という変更ですが、これって何か問題があったんでしょうか?
-- 
[田中 哲][たなか あきら][Tanaka Akira]