<commit_before># encoding: utf-8

require 'rubygems'
require 'minitest/unit'
require 'slim'

MiniTest::Unit.autorun

class TestSlim < MiniTest::Unit::TestCase
  def setup
    @env = Env.new
    # Slim::Engine.set_default_options :debug => true
  end

  def teardown
    Slim::Sections.set_default_options(:dictionary_access => :wrapped)
    Temple::Filters::EscapeHTML.default_options.delete(:use_html_safe)
  end<commit_msg>remove obsolete code from test helper<commit_after># encoding: utf-8

require 'rubygems'
require 'minitest/unit'
require 'slim'

MiniTest::Unit.autorun

class TestSlim < MiniTest::Unit::TestCase
  def setup
    @env = Env.new
    # Slim::Engine.set_default_options :debug => true
  end

  def teardown
    Slim::Sections.set_default_options(:dictionary_access => :wrapped)
  end
{'fraction_non_alphanumeric': 0.11083437110834371, 'fraction_numerical': 0.0024906600249066002, 'mean_word_length': 5.045112781954887, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '863529', 'n_tokens_mistral': 279, 'n_tokens_neox': 277, 'n_words': 57}