kopia lustrzana https://github.com/micropython/micropython-lib
argparse: Fix failing testcase.
rodzic
fca6f0cc72
commit
2c5e45b1b8
|
@ -15,7 +15,7 @@ assert args.a == False and args.b == 123
|
|||
args = parser.parse_args(["-a"])
|
||||
assert args.a == True and args.b == 123
|
||||
args = parser.parse_args(["-b", "456"])
|
||||
assert args.a == False and args.b == 456
|
||||
assert args.a == False and args.b == "456"
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("files", nargs="+")
|
||||
|
|
Ładowanie…
Reference in New Issue