<commit_before>def test_generate_copy_without_render_extensions(self):
    generate.generate_files(
        context={
            'cookiecutter': {
                "repo_name": "test_copy_without_render",
                "render_test": "I have been rendered!",
                "_copy_without_render": [
                    "*not-rendered",
                    "rendered/not_rendered.yml",
                    "*.txt",
                ]}
        },
        repo_dir='tests/test-generate-copy-without-render'
    )

    self.assertIn("{{cookiecutter.repo_name}}-not-rendered",
                  os.listdir("test_copy_without_render"))
    self.assertIn("test_copy_without_render-rendered",
                  os.listdir("test_copy_without_render"))

    with open("test_copy_without_render/README.txt") as f:
        self.assertIn("{{cookiecutter.render_test}}", f.read())

    with open("test_copy_without_render/README.rst") as f:
        self.assertIn("I have been rendered!", f.read())

    with open("test_copy_without_render/test_copy_without_render-rendered/README.txt") as f:
        self.assertIn("{{cookiecutter.render_test}}", f.read())

    with open("test_copy_without_render/test_copy_without_render-rendered/README.rst") as f:
        self.assertIn("I have been rendered", f.read())

    with open("test_copy_without_render/{{cookiecutter.repo_name}}-not-rendered/README.rst") as f:
        self.assertIn("{{cookiecutter.render_test}}", f.read())

    with open("test_copy_without_render/rendered/not_rendered.yml") as f:
        self.assertIn("{{cookiecutter.render_test}}", f.read())

    if os.path.exists('test_copy_without_render'):
        shutil.rmtree('test_copy_without_render')<commit_msg>Convert assert statements of test_copy_without_render<commit_after>def test_generate_copy_without_render_extensions():
    generate.generate_files(
        context={
            'cookiecutter': {
                "repo_name": "test_copy_without_render",
                "render_test": "I have been rendered!",
                "_copy_without_render": [
                    "*not-rendered",
                    "rendered/not_rendered.yml",
                    "*.txt",
                ]}
        },
        repo_dir='tests/test-generate-copy-without-render'
    )

    assert "{{cookiecutter.repo_name}}-not-rendered" in os.listdir("test_copy_without_render")
    assert "test_copy_without_render-rendered" in os.listdir("test_copy_without_render")

    with open("test_copy_without_render/README.txt") as f:
        assert "{{cookiecutter.render_test}}" in f.read()

    with open("test_copy_without_render/README.rst") as f:
        assert "I have been rendered!" in f.read()

    with open("test_copy_without_render/test_copy_without_render-rendered/README.txt") as f:
        assert "{{cookiecutter.render_test}}" in f.read()

    with open("test_copy_without_render/test_copy_without_render-rendered/README.rst") as f:
        assert "I have been rendered" in f.read()

    with open("test_copy_without_render/{{cookiecutter.repo_name}}-not-rendered/README.rst") as f:
        assert "{{cookiecutter.render_test}}" in f.read()

    with open("test_copy_without_render/rendered/not_rendered.yml") as f:
        assert "{{cookiecutter.render_test}}" in f.read()

    if os.path.exists('test_copy_without_render'):
        shutil.rmtree('test_copy_without_render')
{'fraction_non_alphanumeric': 0.12744516893894486, 'fraction_numerical': 0.0, 'mean_word_length': 3.01307966706302, 'pattern_counts': {'":': 6, '<': 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': '2262125', 'n_tokens_mistral': 1082, 'n_tokens_neox': 1015, 'n_words': 151}