From 1d7858c7bc7428aaa9f8e0cee92eb9f1630539f3 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 19 Jan 2016 18:52:36 +0000 Subject: [PATCH] Fix formatting. --- artiq/test/harness.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/artiq/test/harness.py b/artiq/test/harness.py index e3bc15fcc..9828dc462 100644 --- a/artiq/test/harness.py +++ b/artiq/test/harness.py @@ -13,13 +13,13 @@ import sys, os, argparse, importlib def main(): parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument('-m', metavar='mod', type=str, - help='run library module as a script') - parser.add_argument('args', type=str, nargs='+', - help='arguments passed to program in sys.argv[1:]') + parser.add_argument("-m", metavar="mod", type=str, + help="run library module as a script") + parser.add_argument("args", type=str, nargs="+", + help="arguments passed to program in sys.argv[1:]") args = parser.parse_args(sys.argv[1:]) - artiq_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) + artiq_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) sys.path.insert(1, artiq_path) if args.m: @@ -28,7 +28,7 @@ def main(): else: sys.argv[1:] = args.args[1:] with open(args.args[0]) as f: - code = compile(f.read(), args.args[0], 'exec') + code = compile(f.read(), args.args[0], "exec") exec(code, globals()) if __name__ == "__main__":