Fix PEP8: E302 expected 2 blank lines, found 1
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user