<commit_before>"""Tests JSON parsing."""

from pathlib import Path

import pytest

import pygaps
import pygaps.parsing.json as pgpj


@pytest.mark.parsing
class TestJson():
    """All testing of JSON interface"""
    def test_isotherm_to_json(self, basic_isotherm):<commit_msg>unused import<commit_after>"""Tests JSON parsing."""

from pathlib import Path

import pytest

import pygaps.parsing.json as pgpj


@pytest.mark.parsing
class TestJson():
    """All testing of JSON interface"""
    def test_isotherm_to_json(self, basic_isotherm):
{'fraction_non_alphanumeric': 0.1037037037037037, 'fraction_numerical': 0.0, 'mean_word_length': 5.290697674418604, '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': '894403', 'n_tokens_mistral': 181, 'n_tokens_neox': 181, 'n_words': 50}