<commit_before>import os
import shutil
import tempfile
import unittest

import numpy as np

from chainer import testing
from chainer.testing import attr
from chainercv.datasets import cityscapes_label_names
from chainercv.datasets import CityscapesSemanticSegmentationDataset
from chainercv.utils import assert_is_semantic_segmentation_dataset
from chainercv.datasets.cityscapes.cityscapes_utils import cityscapes_labels
from chainercv.utils import write_image


@testing.parameterize(
    {'split': 'train', 'ignore_labels': True},
    {'split': 'val', 'ignore_labels': False}
)
class TestCityscapesSemanticSegmentationDataset(unittest.TestCase):

    def setUp(self):<commit_msg>flake8<commit_after>import os
import shutil
import tempfile
import unittest

import numpy as np

from chainer import testing
from chainer.testing import attr
from chainercv.datasets.cityscapes.cityscapes_utils import cityscapes_labels
from chainercv.datasets import cityscapes_label_names
from chainercv.datasets import CityscapesSemanticSegmentationDataset
from chainercv.utils import assert_is_semantic_segmentation_dataset
from chainercv.utils import write_image


@testing.parameterize(
    {'split': 'train', 'ignore_labels': True},
    {'split': 'val', 'ignore_labels': False}
)
class TestCityscapesSemanticSegmentationDataset(unittest.TestCase):

    def setUp(self):
{'fraction_non_alphanumeric': 0.06642066420664207, 'fraction_numerical': 0.0007380073800738007, 'mean_word_length': 7.422360248447205, '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': '253384', 'n_tokens_mistral': 397, 'n_tokens_neox': 396, 'n_words': 105}