Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-15 07:11:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-15 07:11:48 +0400
commitea610e655cd8b8f9fb97f0a9a4fc5fd46418bd9e (patch)
treec1a3582f1167f778bf5845e64e127c0560b0c42e /source/tests
parent3cf39fc72a36bab1c5b82ae96cffe7dd01ce7260 (diff)
Style cleanup: C & pep8
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/bl_run_operators.py2
-rw-r--r--source/tests/pep8.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/tests/bl_run_operators.py b/source/tests/bl_run_operators.py
index 13bf615b8dc..e14b0ce6d32 100644
--- a/source/tests/bl_run_operators.py
+++ b/source/tests/bl_run_operators.py
@@ -105,7 +105,7 @@ def blend_list(mainpath):
def is_blend(filename):
ext = splitext(filename)[1]
- return (ext in {".blend",})
+ return (ext in {".blend", })
return list(sorted(file_list(mainpath, is_blend)))
diff --git a/source/tests/pep8.py b/source/tests/pep8.py
index 3ae1828c59a..235bca48104 100644
--- a/source/tests/pep8.py
+++ b/source/tests/pep8.py
@@ -54,7 +54,7 @@ def is_pep8(path):
print("\nfile contains BOM, remove first 3 bytes: %r\n" % path)
# templates don't have a header but should be pep8
- for d in ("presets", "templates", "examples"):
+ for d in ("presets", "templates_py", "examples"):
if ("%s%s%s" % (os.sep, d, os.sep)) in path:
return 1