aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_complex.rb2
-rw-r--r--test/ruby/test_rational.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb
index aa6d6a77fe..2ee97a0ad8 100644
--- a/test/ruby/test_complex.rb
+++ b/test/ruby/test_complex.rb
@@ -657,6 +657,7 @@ class Complex_Test < Test::Unit::TestCase
assert_instance_of(Complex, c2)
end
+=begin
bug3656 = '[ruby-core:31622]'
assert_raise(TypeError, bug3656) {
Complex(1,2).marshal_load(0)
@@ -666,6 +667,7 @@ class Complex_Test < Test::Unit::TestCase
c.freeze
assert(c.frozen?)
assert_raise(RuntimeError){c.marshal_load([2,3])}
+=end
end
def test_parse
diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb
index e1aafb5a0a..497c476b1b 100644
--- a/test/ruby/test_rational.rb
+++ b/test/ruby/test_rational.rb
@@ -823,6 +823,7 @@ class Rational_Test < Test::Unit::TestCase
assert_equal(9, c2.instance_variable_get(:@ivar))
assert_instance_of(Rational, c2)
+=begin
assert_raise(ZeroDivisionError){
Marshal.load("\x04\bU:\rRational[\ai\x06i\x05")
}
@@ -836,6 +837,7 @@ class Rational_Test < Test::Unit::TestCase
c.freeze
assert(c.frozen?)
assert_raise(RuntimeError){c.marshal_load([2,3])}
+=end
end
def test_parse