Skip to content

Conversation

@k-tsj
Copy link
Member

@k-tsj k-tsj commented May 16, 2025

No description provided.

k-tsj added 5 commits May 7, 2025 18:00
Since Ruby 3.1, TracePoint can now handle events for accessor methods.
Since ruby 2.4, Fixnum and Bignum have been unified into Integer.
The code was written expecting JRuby to support TracePoint, but it still hasn't been implemented.
To keep the codebase simple, removing it until truly needed.
@k-tsj k-tsj merged commit 5c5eb7f into ruby:master May 16, 2025
29 of 31 checks passed
@k-tsj k-tsj deleted the drop-below-3_1 branch May 16, 2025 09:18
byroot added a commit to byroot/test-unit that referenced this pull request Nov 3, 2025
power_assert 3.0 now use pattern matching: ruby/power_assert#57
This cause it to be half defined on Ruby 3.0 and older.
byroot added a commit to byroot/test-unit that referenced this pull request Nov 3, 2025
power_assert 3.0 now use pattern matching: ruby/power_assert#57
This cause it to be half defined on Ruby 3.0 and older.
kou pushed a commit to test-unit/test-unit that referenced this pull request Nov 3, 2025
Fix GH-330

power_assert 3.0 now uses pattern matching:
ruby/power_assert#57.

This causes it to be half defined on Ruby 3.0 and older.

```
$ bundle exec ruby -Itest test/json/json_coder_test.rb
/Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/util/backtracefilter.rb:16:in `method': undefined method `start' for class `#<Class:PowerAssert>' (NameError)
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/util/backtracefilter.rb:16:in `<module:BacktraceFilter>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/util/backtracefilter.rb:9:in `<module:Util>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/util/backtracefilter.rb:8:in `<module:Unit>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/util/backtracefilter.rb:7:in `<module:Test>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/util/backtracefilter.rb:6:in `<top (required)>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/assertions.rb:7:in `require_relative'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/assertions.rb:7:in `<top (required)>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/testcase.rb:12:in `require_relative'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit/testcase.rb:12:in `<top (required)>'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit.rb:3:in `require_relative'
	from /Users/byroot/.gem/rubies/3.0.7/gems/test-unit-3.7.0/lib/test/unit.rb:3:in `<top (required)>'
	from /Users/byroot/src/github.com/ruby/json/test/json/test_helper.rb:28:in `require'
	from /Users/byroot/src/github.com/ruby/json/test/json/test_helper.rb:28:in `<top (required)>'
	from test/json/json_coder_test.rb:4:in `require_relative'
	from test/json/json_coder_test.rb:4:in `<main>'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant