We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d990126 commit 5cea36dCopy full SHA for 5cea36d
Lib/test/test_optparse.py
@@ -302,8 +302,6 @@ def test_callback_kwargs_no_dict(self):
302
'callback_kwargs': 'foo'})
303
304
def test_callback_kwargs_tuple_not_dict(self):
305
- # A tuple callback_kwargs should raise OptionError, not TypeError
306
- # from string formatting unpacking the tuple.
307
self.assertOptionError(
308
"option -b: callback_kwargs, if supplied, "
309
"must be a dict: not (1, 2)",
0 commit comments