[issue1740] use unittest for test_logging

Brett Cannon report at bugs.python.org
Tue Feb 26 04:37:54 CET 2008


Brett Cannon added the comment:

On Mon, Feb 25, 2008 at 11:39 AM, Antoine Pitrou <report at bugs.python.org> wrote:
>
>  Antoine Pitrou added the comment:
>
>  Out of curiosity, what were the PEP 8 violations? Usually I try to
>  respect the coding guidelines.

There were three that pervaded the code.

1. A newline after the opening docstring quotes::

    """
    docstring
    """

is bad.

2. Use of camelCase for methods and variables is bad.

3. The doc string for classes is supposed to have a blank line between
the class definition line and the docstring itself.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1740>
__________________________________


More information about the Python-bugs-list mailing list