diff options
Diffstat (limited to 'tests/test_job.py')
-rw-r--r-- | tests/test_job.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_job.py b/tests/test_job.py index 62b615f..dac4509 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -192,7 +192,7 @@ def test_private_modify_bad_next_run_time(job): """Tests that passing a next_run_time of the wrong type raises a TypeError.""" exc = pytest.raises(TypeError, job._modify, next_run_time=1) - assert str(exc.value) == 'next_run_time must be either None or a datetime instance' + assert str(exc.value) == 'Unsupported type for next_run_time: int' def test_private_modify_bad_argument(job): |