File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1655,7 +1655,7 @@ def test_local_variable_set
1655
1655
1656
1656
def test_numparam_is_not_local_variables
1657
1657
"foo" . tap do
1658
- _9
1658
+ _9 and flunk
1659
1659
assert_equal ( [ ] , binding . local_variables )
1660
1660
assert_raise ( NameError ) { binding . local_variable_get ( :_9 ) }
1661
1661
assert_raise ( NameError ) { binding . local_variable_set ( :_9 , 1 ) }
@@ -1674,7 +1674,7 @@ def test_numparam_is_not_local_variables
1674
1674
assert_raise ( NameError ) { binding . local_variable_get ( :_9 ) }
1675
1675
assert_raise ( NameError ) { binding . local_variable_set ( :_9 , 1 ) }
1676
1676
"bar" . tap do
1677
- _9
1677
+ _9 and flunk
1678
1678
assert_equal ( [ ] , binding . local_variables )
1679
1679
assert_raise ( NameError ) { binding . local_variable_get ( :_9 ) }
1680
1680
assert_raise ( NameError ) { binding . local_variable_set ( :_9 , 1 ) }
Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ def test_segv_loaded_features
875
875
'-e' , '$".clear' ,
876
876
'-e' , '$".unshift Bogus.new' ,
877
877
'-e' , '(p $"; abort) unless $".size == 1' ,
878
- ] , success : false )
878
+ ] , bug7402 , success : false )
879
879
end
880
880
881
881
def test_segv_setproctitle
Original file line number Diff line number Diff line change @@ -419,6 +419,7 @@ def test_exivar_resize_with_compaction_stress
419
419
x
420
420
end
421
421
end
422
+ objs or flunk
422
423
end
423
424
424
425
def test_local_variables_with_kwarg
@@ -440,7 +441,7 @@ def test_many_instance_variables
440
441
end
441
442
442
443
def test_local_variables_encoding
443
- α = 1
444
+ α = 1 or flunk
444
445
b = binding
445
446
b . eval ( "" . encode ( "us-ascii" ) )
446
447
assert_equal ( %i[ α b ] , b . local_variables )
You can’t perform that action at this time.
0 commit comments