]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
simplify module docstrings 1125/head
authorDavid Lord <davidism@gmail.com>
Fri, 10 Jan 2020 21:42:02 +0000 (13:42 -0800)
committerDavid Lord <davidism@gmail.com>
Fri, 10 Jan 2020 21:42:02 +0000 (13:42 -0800)
38 files changed:
docs/examples/inline_gettext_extension.py
src/jinja2/__init__.py
src/jinja2/_compat.py
src/jinja2/asyncsupport.py
src/jinja2/bccache.py
src/jinja2/compiler.py
src/jinja2/constants.py
src/jinja2/defaults.py
src/jinja2/environment.py
src/jinja2/exceptions.py
src/jinja2/ext.py
src/jinja2/filters.py
src/jinja2/lexer.py
src/jinja2/loaders.py
src/jinja2/meta.py
src/jinja2/nodes.py
src/jinja2/optimizer.py
src/jinja2/parser.py
src/jinja2/runtime.py
src/jinja2/sandbox.py
src/jinja2/tests.py
src/jinja2/utils.py
src/jinja2/visitor.py
tests/conftest.py
tests/test_api.py
tests/test_bytecode_cache.py
tests/test_core_tags.py
tests/test_debug.py
tests/test_ext.py
tests/test_filters.py
tests/test_imports.py
tests/test_inheritance.py
tests/test_lexnparse.py
tests/test_loader.py
tests/test_regression.py
tests/test_security.py
tests/test_tests.py
tests/test_utils.py

index 50a06711eb67c5295a06797967fa9e31f5180bca..47bc9cc1c27f78db5777f6a378748c23c8ebe377 100644 (file)
@@ -1,14 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    Inline Gettext
-    ~~~~~~~~~~~~~~
-
-    An example extension for Jinja that supports inline gettext calls.
-    Requires the i18n extension to be loaded.
-
-    :copyright: (c) 2009 by the Jinja Team.
-    :license: BSD.
-"""
 import re
 
 from jinja2.exceptions import TemplateSyntaxError
index dcd2835162c22355f349764062d84c04e544bbbb..9c4c9cfc5ecd001478c9895f705a91b7a1d2b0d4 100644 (file)
@@ -1,30 +1,7 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2
-    ~~~~~~
-
-    Jinja is a template engine written in pure Python.  It provides a
-    Django inspired non-XML syntax but supports inline expressions and
-    an optional sandboxed environment.
-
-    Nutshell
-    --------
-
-    Here a small example of a Jinja template::
-
-        {% extends 'base.html' %}
-        {% block title %}Memberlist{% endblock %}
-        {% block content %}
-          <ul>
-          {% for user in users %}
-            <li><a href="{{ user.url }}">{{ user.username }}</a></li>
-          {% endfor %}
-          </ul>
-        {% endblock %}
-
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
+"""Jinja is a template engine written in pure Python. It provides a
+non-XML syntax that supports inline expressions and an optional
+sandboxed environment.
 """
 from .bccache import BytecodeCache
 from .bccache import FileSystemBytecodeCache
index aa21641f82f6a12d28e86db0b8296459e8abe177..1f044954a02933bcec2277fcdd575821bc18a99a 100644 (file)
@@ -1,16 +1,5 @@
 # -*- coding: utf-8 -*-
 # flake8: noqa
-"""
-    jinja2._compat
-    ~~~~~~~~~~~~~~
-
-    Some py2/py3 compatibility support based on a stripped down
-    version of six so we don't have to depend on a specific version
-    of it.
-
-    :copyright: Copyright 2013 by the Jinja team, see AUTHORS.
-    :license: BSD, see LICENSE for details.
-"""
 import marshal
 import sys
 
index 7a0c2ea7c017bfc6107f5ce6660a3bb1555a9ed2..d97e46fcd4da2397dc2e6b34925fd4db841267d1 100644 (file)
@@ -1,13 +1,6 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.asyncsupport
-    ~~~~~~~~~~~~~~~~~~~
-
-    Has all the code for async support which is implemented as a patch
-    for supported Python versions.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
+"""The code for async support. Importing this patches Jinja on supported
+Python versions.
 """
 import asyncio
 import inspect
index 75419d1fc34b3e5a71fba8efca84c94956e16a5d..6f897451d5d891fee2027e80626fa734a069cd52 100644 (file)
@@ -1,18 +1,10 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.bccache
-    ~~~~~~~~~~~~~~
-
-    This module implements the bytecode cache system that Jinja optionally uses.
-    This is useful if you have very complex template situations and
-    the compilation of all those templates slows down your application too
-    much.
-
-    Situations where this is useful are often forking web applications that
-    are initialized on the first request.
+"""The optional bytecode cache system. This is useful if you have very
+complex template situations and the compilation of all those templates
+slows down your application too much.
 
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD.
+Situations where this is useful are often forking web applications that
+are initialized on the first request.
 """
 import errno
 import fnmatch
index 169687aa705b43130cb894dae7394d37e4bfc624..32dac88cbca1874abfeabbd29cb8857be3955a19 100644 (file)
@@ -1,13 +1,5 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.compiler
-    ~~~~~~~~~~~~~~~
-
-    Compiles nodes into python code.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
+"""Compiles nodes from the parser into Python code."""
 from collections import namedtuple
 from functools import update_wrapper
 from itertools import chain
index 36da88bfe34ca763c3450dcd2bb4446dc9e823a8..bf7f2ca721789052f1e227c5e3432e7712134c55 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja.constants
-    ~~~~~~~~~~~~~~~
-
-    Various constants.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 #: list of lorem ipsum words used by the lipsum() helper function
 LOREM_IPSUM_WORDS = u"""\
 a ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at
index 0af8c54e2aef7161c3c6690e78d939042c95586d..b5d5f4ef63fc3d83b5ce11840dee2b74343d9ca4 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.defaults
-    ~~~~~~~~~~~~~~~
-
-    Jinja default filters and tags.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 from ._compat import range_type
 from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
 from .tests import TESTS as DEFAULT_TESTS  # noqa: F401
index a50a6a8e7a4055bc85ae52db3c251e5055f85ae9..08c5e6a08004808adde8c9b291a58873bf1d2f6b 100644 (file)
@@ -1,12 +1,6 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.environment
-    ~~~~~~~~~~~~~~~~~~
-
-    Provides a class that holds runtime and parsing time options.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
+"""Classes for managing templates and their runtime and compile time
+options.
 """
 import os
 import sys
index 8fa45c425bdd2d279b7db80efcc9cc2fd28098ae..0bf2003e30e2a24a54640359bb04f3e98b26e3f6 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.exceptions
-    ~~~~~~~~~~~~~~~~~
-
-    Jinja exceptions.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 from ._compat import imap
 from ._compat import implements_to_string
 from ._compat import PY2
index d4dda0bc24226b769a337033bbe3a67455cc0d75..01aab74a7de7c1d958c8fe057de10d33e1ea8d0c 100644 (file)
@@ -1,19 +1,5 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.ext
-    ~~~~~~~~~~
-
-    Jinja extensions allow adding custom tags and behavior. The
-    following extensions are included:
-
-    -   An 18n support ``{% trans %}`` tag.
-    -   A ``{% do %}`` tag.
-    -   Loop control ``{% break %}`` and ``{% continue %}`` tags.
-    -   A ``{% debug %}`` tag.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD.
-"""
+"""Extension API for adding custom tags and behavior."""
 import pprint
 import re
 from sys import version_info
index 456a6d41e7bfc637f3fae56509f89979b1ef76f8..1af7ac88a7c9aeea80b979982818addc5444612f 100644 (file)
@@ -1,13 +1,5 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.filters
-    ~~~~~~~~~~~~~~
-
-    Bundled jinja filters.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
+"""Built-in template filters used with the ``|`` operator."""
 import math
 import random
 import re
index 7c53d5d41af56c041aca8dc51da403ac8fa5869f..a2b44e926b06625353f4b1a990ceb3151a32512b 100644 (file)
@@ -1,18 +1,8 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.lexer
-    ~~~~~~~~~~~~
-
-    This module implements a Jinja / Python combination lexer. The
-    `Lexer` class provided by this module is used to do some preprocessing
-    for Jinja.
-
-    On the one hand it filters out invalid operators like the bitshift
-    operators we don't allow in templates. On the other hand it separates
-    template code and python code in expressions.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
+"""Implements a Jinja / Python combination lexer. The ``Lexer`` class
+is used to do some preprocessing. It filters out invalid operators like
+the bitshift operators we don't allow in templates. It separates
+template code and python code in expressions.
 """
 import re
 from ast import literal_eval
index 99798fd4d66560eb203c5c675d46a31db9c1770a..ce5537a03c0eb8863b4e8ab7e705a0b1041bb360 100644 (file)
@@ -1,12 +1,6 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.loaders
-    ~~~~~~~~~~~~~~
-
-    Jinja loader classes.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
+"""API and implementations for loading templates from different data
+sources.
 """
 import os
 import pkgutil
index 3c7917ef6e7caead0aabf23bd622faca2fc404f9..3795aace59da12815544dfcd5bb9973e196f7a43 100644 (file)
@@ -1,13 +1,6 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.meta
-    ~~~~~~~~~~~
-
-    This module implements various functions that exposes information about
-    templates that might be interesting for various kinds of applications.
-
-    :copyright: (c) 2017 by the Jinja Team, see AUTHORS for more details.
-    :license: BSD, see LICENSE for more details.
+"""Functions that expose information about templates that might be
+interesting for introspection.
 """
 from . import nodes
 from ._compat import iteritems
index 802654301e0170691a306b6ba9e3b0d5157e5597..f0e9e03239933e076704f532498880877b7ee6b2 100644 (file)
@@ -1,16 +1,7 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.nodes
-    ~~~~~~~~~~~~
-
-    This module implements additional nodes derived from the ast base node.
-
-    It also provides some node tree helper functions like `in_lineno` and
-    `get_nodes` used by the parser and translator in order to normalize
-    python and jinja nodes.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
+"""AST nodes generated by the parser for the compiler. Also provides
+some node tree helper functions used by the parser and compiler in order
+to normalize nodes.
 """
 import operator
 from collections import deque
index e26272731315b2ac5df482b85c57828a5ac33efc..7bc78c4524ab59dd7218cfe5f23b5de29a4a170c 100644 (file)
@@ -1,20 +1,12 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.optimizer
-    ~~~~~~~~~~~~~~~~
-
-    The jinja optimizer is currently trying to constant fold a few expressions
-    and modify the AST in place so that it should be easier to evaluate it.
-
-    Because the AST does not contain all the scoping information and the
-    compiler has to find that out, we cannot do all the optimizations we
-    want.  For example loop unrolling doesn't work because unrolled loops would
-    have a different scoping.
-
-    The solution would be a second syntax tree that has the scoping rules stored.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD.
+"""The optimizer tries to constant fold expressions and modify the AST
+in place so that it should be faster to evaluate.
+
+Because the AST does not contain all the scoping information and the
+compiler has to find that out, we cannot do all the optimizations we
+want. For example, loop unrolling doesn't work because unrolled loops
+would have a different scope. The solution would be a second syntax tree
+that stored the scoping rules.
 """
 from . import nodes
 from .visitor import NodeTransformer
index 1d9fd9170f2dc1d69e2a1e685f130c550cd63963..d5881066f7461b01291067f19c356d39dc75d38b 100644 (file)
@@ -1,13 +1,5 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.parser
-    ~~~~~~~~~~~~~
-
-    Implements the template parser.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
+"""Parse tokens from the lexer into nodes for the compiler."""
 from . import nodes
 from ._compat import imap
 from .exceptions import TemplateAssertionError
index 365c1f719e5b697f0b68857b0b87fa681c2db1ed..d356b074672a085a8946c797729b973727a01fb5 100644 (file)
@@ -1,13 +1,5 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.runtime
-    ~~~~~~~~~~~~~~
-
-    Runtime helpers.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD.
-"""
+"""The runtime functions and state used by compiled templates."""
 import sys
 from itertools import chain
 from types import MethodType
index d806b63404fd53afcad17cd4d8897f02db3bccdf..af4a96e684d8f87358211155c876c034cffeca82 100644 (file)
@@ -1,16 +1,6 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.sandbox
-    ~~~~~~~~~~~~~~
-
-    Adds a sandbox layer to Jinja as it was the default behavior in the old
-    Jinja 1 releases.  This sandbox is slightly different from Jinja 1 as the
-    default behavior is easier to use.
-
-    The behavior can be changed by subclassing the environment.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD.
+"""A sandbox layer that ensures unsafe operations cannot be performed.
+Useful when the template itself comes from an untrusted source.
 """
 import operator
 import types
index 8c4d46691f3201ef18cd4a96039dd7bb33087918..fabd4ce51b6a049955d903762986974f59c625d0 100644 (file)
@@ -1,13 +1,5 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.tests
-    ~~~~~~~~~~~~
-
-    Jinja test functions. Used with the "is" operator.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
+"""Built-in template tests used with the ``is`` operator."""
 import decimal
 import operator
 import re
index 3d0051bebea489938a12a636b2df4be8f706efbd..e3285e8edb45daf70b7612d8ad256f29ff09f456 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.utils
-    ~~~~~~~~~~~~
-
-    Utility functions.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import json
 import os
 import re
index a803adeffa7abc7c0c988de1019108daf5c75f35..d1365bf10e5346a60df625faa5e118d4086b1395 100644 (file)
@@ -1,12 +1,6 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.visitor
-    ~~~~~~~~~~~~~~
-
-    This module implements a visitor for the nodes.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD.
+"""API for traversing the AST nodes. Implemented by the compiler and
+meta introspection.
 """
 from .nodes import Node
 
index a1c11a95f4e817ba76d55691e597260733b292ec..bb26409a5ca4195dfd16b9bc52a589b397057888 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.conftest
-    ~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Configuration and Fixtures for the tests
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import os
 
 import pytest
index a9eddbeb0bca90bba4228f6b21d481d55cb13288..0c262dc4b85bb6244c08370fb41465e44ff03bee 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.api
-    ~~~~~~~~~~~~~~~~~~~~
-
-    Tests the public API and related stuff.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import os
 import shutil
 import tempfile
index 937c0fec20f3f929d838536d6c9eebe129b38c48..6863690a16652f2f821c1b9f5a23d08ba4214603 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.bytecode_cache
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Test bytecode caching
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import Environment
index 0f9346b9abdf884692bf3f9ccd185aec2d3a5237..4132c4f5ea25cac64e9646afa9ae1c008939a809 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.core_tags
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Test the core tags like for and if.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import DictLoader
index 7dbad312d85ef9248746a5e4d02f1a4997e57b70..5ca92d92d098d86e78fa54e3a4720692ac171684 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.debug
-    ~~~~~~~~~~~~~~~~~~~~~~
-
-    Tests the debug system.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pickle
 import re
 from traceback import format_exception
index 6ecf9a2acf71124a96ce58813801b1902bcb6004..67d2cdb5259e01f15540bf99e89dd3e87e216ef6 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.ext
-    ~~~~~~~~~~~~~~~~~~~~
-
-    Tests for the extensions.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import re
 
 import pytest
index 388e286f6b5ea8c7dfa69504a9afe768eeef3ab1..109f4441f8e05b3bc6ddd32873b81abea868a460 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.filters
-    ~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Tests for the jinja filters.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import random
 from collections import namedtuple
 
index 7b902226bdffbe2627c7946a98e5ae2409e9b968..0dae2173f22625a42d5443638377c90bb48d5717 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.imports
-    ~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Tests the import features (with includes).
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import DictLoader
index 0cea136cceadb93bfa95fc7bd65513feac0a35f3..92f66e04fb9d18b4145480705649dc1b4c7306f9 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.inheritance
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Tests the template inheritance feature.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import DictLoader
index dcfa6172399edb29c9c6e2569ea951a10ba160d3..9da9380581112b0a14c558bf3b15a36fb657a7c9 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.lexnparse
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    All the unittests regarding lexing, parsing and syntax.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import Environment
index 0a476d5259bfedcfa182071f9fff4ff237dae58c..4aa6511ef2a57fe00d0822c77b56ec6bd6ff25ee 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.loader
-    ~~~~~~~~~~~~~~~~~~~~~~~
-
-    Test the loaders.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import os
 import shutil
 import sys
index 5aa1f3d6b2a096efb88f97a245a78c5a5b21ec49..accc1f62a48cb2ccac7416216ba636583a4c61d6 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.regression
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Tests corner cases and bugs.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import sys
 
 import pytest
index e00ef7568ea186c7cbdd0196771c1656efafdedc..f092c96d95284775a58fab7d43913d0ca3369ae4 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.security
-    ~~~~~~~~~~~~~~~~~~~~~~~~~
-
-    Checks the sandbox and other security features.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import Environment
index 447935a15dde91c87acbe5d706c0678c52fd2fd9..42595e8fd6cee1e6e0058a9b0c62db21bfa5abd7 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.tests
-    ~~~~~~~~~~~~~~~~~~~~~~
-
-    Who tests the tests?
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pytest
 
 from jinja2 import Environment
index 58a2cdffc881f7b5f1a1a96e967dcc93ffeb4ad8..58165efbf09bc9e53bd5c391c5ce25cd7f31146b 100644 (file)
@@ -1,13 +1,4 @@
 # -*- coding: utf-8 -*-
-"""
-    jinja2.testsuite.utils
-    ~~~~~~~~~~~~~~~~~~~~~~
-
-    Tests utilities jinja uses.
-
-    :copyright: (c) 2017 by the Jinja Team.
-    :license: BSD, see LICENSE for more details.
-"""
 import pickle
 import random
 from collections import deque