Fix PEP8: E302 expected 2 blank lines, found 1

This commit is contained in:
stv
2014-11-08 17:18:52 -08:00
parent d9502e48de
commit cf9308144d
102 changed files with 120 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import sys
# to become:
# test --settings=cms.envs.test --pythonpath=. -s cms/djangoapps/contentstore/tests/test_course_settings.py:CourseDetailsViewTest.test_update_and_fetch
def find_full_path(path_to_file):
"""Find the full path where we only have a relative path from somewhere in the tree."""
for subdir, dirs, files in os.walk("."):
@@ -16,6 +17,7 @@ def find_full_path(path_to_file):
if os.path.exists(full):
return full
def main(argv):
parser = argparse.ArgumentParser(description="Run just one test")
parser.add_argument('--nocapture', '-s', action='store_true', help="Don't capture stdout (any stdout output will be printed immediately)")