We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d6380 commit 1a1a5b4Copy full SHA for 1a1a5b4
python/tests/test_context.py
@@ -385,7 +385,8 @@ def test_sql_auto_register_pandas_dataframe(monkeypatch):
385
pytest.skip("pandas does not expose Arrow capsule export")
386
387
def fail_from_pandas(*args, **kwargs):
388
- raise AssertionError("from_pandas should not be called during auto-registration")
+ msg = "from_pandas should not be called during auto-registration"
389
+ raise AssertionError(msg)
390
391
monkeypatch.setattr(SessionContext, "from_pandas", fail_from_pandas)
392
0 commit comments