MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / test_raises_negative_display_interval

Function test_raises_negative_display_interval

tests/test_ProgressPrinter.py:13–19  ·  view source on GitHub ↗

Tests that ProgressPrinter raises when provided with a negative display_interval argument.

()

Source from the content-addressed store, hash-verified

11
12
13def test_raises_negative_display_interval():
14 """
15 Tests that ProgressPrinter raises when provided with a negative
16 display_interval argument.
17 """
18 with assert_raises(ValueError):
19 ProgressPrinter(True, -1.0)
20
21
22def test_start(ok_small, caplog):

Callers

nothing calls this directly

Calls 1

ProgressPrinterClass · 0.90

Tested by

no test coverage detected