nose-devs/nose — Issue #346: setUp does not conform to PEP8
Author: jpellerin
Created: 2011-12-14 16:08:45+00:00
State: open

Background:
Python PEP8 ("Style Guide for Python Code" -
http://www.python.org/dev/peps/pep-0008/) states that method names should
"Use the function naming rules: lowercase with words separated by
underscores as necessary to improve readability."

Problem:
The class method "setUp" does now have an equivalent "set_up" method in
python-nose.

Proposed solution:
python-nose tries calling "set_up" method if "setUp" is not defined for a
test class.

Additional comment:
I understand "setUp" is there for historical reason but I think "set_up"
should be there too.

Google Code Info:
Issue #: 289
Author: jens.ran...@gmail.com
Created On: 2009-09-01T16:01:35.000Z
Closed On: