Skip to content

Commit d9cc87c

Browse files
committed
Refactor test_udaf_accepts_capsule by removing unused udf import and reorganizing code
1 parent dbb1e55 commit d9cc87c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from datafusion import SessionContext, udf, udaf
1+
from datafusion import SessionContext, udaf
22
from geodatafusion import native
3-
ctx = SessionContext()
4-
ctx.register_udaf(udaf(native.Extent()))
3+
4+
5+
def test_udaf_accepts_capsule() -> None:
6+
ctx = SessionContext()
7+
ctx.register_udaf(udaf(native.Extent()))

0 commit comments

Comments
 (0)