Test: More Python 3 compatibility changes in accessory files
This commit is contained in:
@@ -83,7 +83,7 @@ if __name__ == "__main__":
|
|||||||
stop = float(timestamp.match(line).group(1))
|
stop = float(timestamp.match(line).group(1))
|
||||||
|
|
||||||
# Remove expected failures from the skipped tests category
|
# Remove expected failures from the skipped tests category
|
||||||
for filename, value in expected.iteritems():
|
for filename, value in expected.items():
|
||||||
if skipped[filename] == value:
|
if skipped[filename] == value:
|
||||||
del skipped[filename]
|
del skipped[filename]
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ def run_test(test):
|
|||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
parser = argparse.ArgumentParser(description="Run Taskwarrior tests repeatedly")
|
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")
|
help="Logging level. -lll is the highest level")
|
||||||
parser.add_argument('--repeat', metavar="N", type=int, default=100,
|
parser.add_argument('--repeat', metavar="N", type=int, default=100,
|
||||||
help="How many times to run each test (default: 100)")
|
help="How many times to run each test (default: 100)")
|
||||||
|
|||||||
Reference in New Issue
Block a user