diff options
Diffstat (limited to 'tests/test_utils_console.py')
-rw-r--r-- | tests/test_utils_console.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils_console.py b/tests/test_utils_console.py index 0a537a6..59bc6f4 100644 --- a/tests/test_utils_console.py +++ b/tests/test_utils_console.py @@ -53,7 +53,7 @@ def test_produce_table( def test_produce_table_unknown_style() -> None: """Test that function should fail if unknown style provided.""" - with pytest.raises(Exception, match="Unsupported table style unknown_style"): + with pytest.raises(ValueError, match="Table style unknown_style is not supported."): produce_table([["1", "2", "3"]], [], "unknown_style") |