<commit_before>require 'test_config'

require 'utilrb/gc'
require 'enumerator'

class TC_GC < Test::Unit::TestCase
    def allocate(&block)
	ObjectSpace.define_finalizer(Object.new, &block)
	nil
    end

    def allocate(&block)
	# Allocate twice since it seems the last object stays on stack<commit_msg>[test,gc] remove double definition of #allocate<commit_after>require 'test_config'

require 'utilrb/gc'
require 'enumerator'

class TC_GC < Test::Unit::TestCase
    def allocate(&block)
	# Allocate twice since it seems the last object stays on stack
{'fraction_non_alphanumeric': 0.0922242314647378, 'fraction_numerical': 0.0, 'mean_word_length': 5.367816091954023, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2706638', 'n_tokens_mistral': 173, 'n_tokens_neox': 167, 'n_words': 54}