<commit_before>import numpy as np

from tardis.plasma.standard_plasmas import LegacyPlasmaArray

def test_he_nlte_plasma(number_density, atomic_data, time_explosion,
    t_rad, w, j_blues):
    he_nlte_plasma = LegacyPlasmaArray(number_densities=number_density,
        atomic_data=atomic_data, time_explosion=time_explosion,
        helium_treatment='recomb-nlte')
    he_nlte_plasma.update_radiationfield(t_rad, w, j_blues, nlte_config=None)
    assert np.all(he_nlte_plasma.get_value(
        'level_number_density').ix[2].ix[0].ix[0]==0.0)
    assert np.allclose(he_nlte_plasma.get_value(
        'ion_number_density').ix[2].ix[1], number_density.ix[2])<commit_msg>Removed problematic test.<commit_after>import numpy as np

from tardis.plasma.standard_plasmas import LegacyPlasmaArray

def test_he_nlte_plasma(number_density, atomic_data, time_explosion,
    t_rad, w, j_blues):
    he_nlte_plasma = LegacyPlasmaArray(number_densities=number_density,
        atomic_data=atomic_data, time_explosion=time_explosion,
        helium_treatment='recomb-nlte')
    he_nlte_plasma.update_radiationfield(t_rad, w, j_blues, nlte_config=None)
    assert np.allclose(he_nlte_plasma.get_value(
        'ion_number_density').ix[2].ix[1], number_density.ix[2])
{'fraction_non_alphanumeric': 0.0984, 'fraction_numerical': 0.0088, 'mean_word_length': 5.836065573770492, 'pattern_counts': {'":': 0, '<': 3, '<?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': '120600', 'n_tokens_mistral': 480, 'n_tokens_neox': 462, 'n_words': 60}