diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2014-04-08 14:09:37 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2014-04-10 14:00:11 -0700 |
commit | 932f610d99fa83fda1e9b68f5312504b5fb653e5 (patch) | |
tree | f6d6bac3ad16fe11b95d2fd660cd56993f1f16cf /tests/oglconform.py | |
parent | 258e0097e14871e7c97a5e1d62c7c757d23d5dfc (diff) |
python: replace Test.interpretResult with Test.interpret_result
From python's PEP8:
"Function names should be lowercase, with words separated by
underscores as necessary to improve readability."
This patch was generated with the following shell command:
find . -name '*py' | xargs sed -i -e 's!interpretResult!interpret_result!g'
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'tests/oglconform.py')
-rw-r--r-- | tests/oglconform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/oglconform.py b/tests/oglconform.py index d0ac5413a..c303b3e02 100644 --- a/tests/oglconform.py +++ b/tests/oglconform.py @@ -52,7 +52,7 @@ class OGLCTest(Test): super(OGLCTest, self).__init__([bin_oglconform, '-minFmt', '-v', '4', '-test', category, subtest]) - def interpretResult(self, out, returncode, results): + def interpret_result(self, out, returncode, results): if self.skip_re.search(out) is not None: results['result'] = 'skip' elif re.search('Total Passed : 1', out) is not None: |