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 53d55c3 commit c7255b8Copy full SHA for c7255b8
tests/translate/get_native_namespace_test.py
@@ -56,8 +56,8 @@ def _get_expected_namespace(constructor_name: str) -> Any | None: # noqa: PLR09
56
57
58
def test_native_namespace_frame(constructor: Constructor) -> None:
59
- constructor_name = constructor.__name__
60
- if constructor_name == "pyspark_lazy_constructor":
+ constructor_name = str(constructor)
+ if "pyspark" in constructor_name and "sqlframe" not in constructor_name:
61
pytest.skip(reason="Requires special handling for spark local vs spark connect")
62
63
expected_namespace = _get_expected_namespace(constructor_name=constructor_name)
0 commit comments