File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1247,19 +1247,19 @@ class TupleClassTap(Tap):
1247
1247
1248
1248
self .assertEqual (args .tup , true_args )
1249
1249
1250
- def test_tuple_literally_one (self ):
1250
+ def test_tuple_literally_three (self ):
1251
1251
class LiterallyOne (Tap ):
1252
- tup : Tuple [Literal [1 ]]
1252
+ tup : Tuple [Literal [3 ]]
1253
1253
1254
- input_args = ("1 " ,)
1255
- true_args = (1 ,)
1254
+ input_args = ("3 " ,)
1255
+ true_args = (3 ,)
1256
1256
1257
1257
args = LiterallyOne ().parse_args (["--tup" , * input_args ])
1258
1258
1259
1259
self .assertEqual (args .tup , true_args )
1260
1260
1261
1261
with self .assertRaises (SystemExit ):
1262
- LiterallyOne ().parse_args (["--tup" , "2 " ])
1262
+ LiterallyOne ().parse_args (["--tup" , "5 " ])
1263
1263
1264
1264
def test_tuple_literally_two (self ):
1265
1265
class LiterallyTwo (Tap ):
You can’t perform that action at this time.
0 commit comments