<commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst

# The tests in this file test the accuracy of the photometric results.
# Here we test directly with aperture objects since we are checking the
# algorithms in aperture_photometry, not in the wrappers.
from __future__ import (absolute_import, division, print_function,
                        unicode_literals)
import pytest
import numpy as np
from numpy.testing import assert_allclose, assert_array_equal
from astropy.tests.helper import assert_quantity_allclose
import astropy.units as u
from astropy.io import fits
from astropy.nddata import NDData
from astropy.tests.helper import remote_data

from ..aperture_core import *

try:
    import matplotlib
    HAS_MATPLOTLIB = True<commit_msg>Importing pytest from astropy to be consistent with the rest of the test files [skip ci]<commit_after># Licensed under a 3-clause BSD style license - see LICENSE.rst

# The tests in this file test the accuracy of the photometric results.
# Here we test directly with aperture objects since we are checking the
# algorithms in aperture_photometry, not in the wrappers.
from __future__ import (absolute_import, division, print_function,
                        unicode_literals)
import numpy as np
from numpy.testing import assert_allclose, assert_array_equal
from astropy.tests.helper import assert_quantity_allclose
import astropy.units as u
from astropy.io import fits
from astropy.nddata import NDData
from astropy.tests.helper import pytest, remote_data

from ..aperture_core import *

try:
    import matplotlib
    HAS_MATPLOTLIB = True
{'fraction_non_alphanumeric': 0.041537507749535026, 'fraction_numerical': 0.0012399256044637321, 'mean_word_length': 4.39799331103679, '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': '1204512', 'n_tokens_mistral': 449, 'n_tokens_neox': 427, 'n_words': 187}