unit-test: Fix PEP8 E302 violations
E302: expected 2 blank lines, found 1
Change-Id: I319c02aa01e92f97e039a58f6cfb0655fbb25227
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index db1655b..ebda43c 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -390,6 +390,7 @@
print(stdout)
print(stderr)
+
def is_valgrind_safe():
"""
Returns whether it is safe to run valgrind on our platform
@@ -425,6 +426,7 @@
os.remove(src)
os.remove(exe)
+
def is_sanitize_safe():
"""
Returns whether it is safe to run sanitizers on our platform
@@ -475,6 +477,7 @@
check_call_cmd('cat', os.path.join(root, f))
raise Exception('Valgrind tests failed')
+
def maybe_make_coverage():
"""
Potentially runs the unit tests through code coverage for the package