From ddccfa798ced2804e4d141df8391806c6a947d84 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Fri, 17 Jul 2015 19:27:58 +0100 Subject: [PATCH] Test: More Python 3 compatibility changes in accessory files --- test/problems | 2 +- test/stress_test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/problems b/test/problems index a8a8ff464..5d10fe60e 100755 --- a/test/problems +++ b/test/problems @@ -83,7 +83,7 @@ if __name__ == "__main__": stop = float(timestamp.match(line).group(1)) # Remove expected failures from the skipped tests category - for filename, value in expected.iteritems(): + for filename, value in expected.items(): if skipped[filename] == value: del skipped[filename] else: diff --git a/test/stress_test b/test/stress_test index 889e4b591..cf3690f67 100755 --- a/test/stress_test +++ b/test/stress_test @@ -41,7 +41,7 @@ def run_test(test): def parse_args(): parser = argparse.ArgumentParser(description="Run Taskwarrior tests repeatedly") - parser.add_argument('--logging', '-l', action="count", + parser.add_argument('--logging', '-l', action="count", default=0, help="Logging level. -lll is the highest level") parser.add_argument('--repeat', metavar="N", type=int, default=100, help="How many times to run each test (default: 100)")