diff options
author | Julien Cristau <julien.cristau@logilab.fr> | 2013-06-19 16:46:29 +0200 |
---|---|---|
committer | Julien Cristau <julien.cristau@logilab.fr> | 2013-06-19 16:46:29 +0200 |
commit | ebbfe151d5e3d39a70e07ecd31af3e69265c4c05 (patch) | |
tree | ed5a61cdef75d8a7fc33b8f728ffa198916933a0 /testutils.py | |
parent | 3dd9ed7ee2259b7b76dec15b63723651e464af86 (diff) | |
download | pylint-git-ebbfe151d5e3d39a70e07ecd31af3e69265c4c05.tar.gz |
testutils: fix a comment to match the code and try to make things clearer
test/messages/<name>_pyxy.txt is used for python x.y and later, not
earlier versions.
Diffstat (limited to 'testutils.py')
-rw-r--r-- | testutils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testutils.py b/testutils.py index bde1fc1ca..81d379943 100644 --- a/testutils.py +++ b/testutils.py @@ -47,11 +47,11 @@ def get_tests_info(input_dir, msg_dir, prefix, suffix): We use following conventions for input files and messages: for different inputs: - don't test for python < x.y -> input = <name>_pyxy.py - don't test for python >= x.y -> input = <name>_py_xy.py + test for python >= x.y -> input = <name>_pyxy.py + test for python < x.y -> input = <name>_py_xy.py for one input and different messages: - message for python <= x.y -> message = <name>_pyxy.txt - higher versions -> message with highest num + message for python >= x.y -> message = <name>_pyxy.txt + lower versions -> message with highest num """ result = [] for fname in glob(join(input_dir, prefix + '*' + suffix)): |