[Windows Only] Ensures that a command string too large to be handled is translated to the correct exception for error handling.
()
| 32 | |
| 33 | |
| 34 | def test_long_command(): |
| 35 | """[Windows Only] Ensures that a command string too large to be handled |
| 36 | is translated to the correct exception for error handling. |
| 37 | """ |
| 38 | if platform.system() == "Windows": |
| 39 | with pytest.raises(CommandTooLong): |
| 40 | invoke_command(["x" * 2**15]) |
nothing calls this directly
no test coverage detected