(type, expect)
| 687 | ], |
| 688 | ) |
| 689 | def test_intrange_default_help_text(type, expect): |
| 690 | option = click.Option(["--num"], type=type, show_default=True, default=2) |
| 691 | context = click.Context(click.Command("test")) |
| 692 | assert option.get_help_extra(context) == {"default": "2", "range": expect} |
| 693 | result = option.get_help_record(context)[1] |
| 694 | assert expect in result |
| 695 | |
| 696 | |
| 697 | def test_count_default_type_help(): |
nothing calls this directly
no test coverage detected