Skip to content

Commit d3950c5

Browse files
committed
refactor: change exception type in test_table_provider_from_capsule_invalid to RuntimeError
1 parent 692e480 commit d3950c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def __datafusion_table_provider__(self):
374374

375375

376376
def test_table_provider_from_capsule_invalid():
377-
with pytest.raises(Exception): # noqa: B017
377+
with pytest.raises(RuntimeError):
378378
TableProvider.from_capsule(object())
379379

380380

0 commit comments

Comments
 (0)