File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
stdlib/@tests/test_cases/sqlite3 Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ def finalize(self) -> int:
7777
7878
7979# Test case: Fixed parameter aggregates (the common case in practice)
80- # Users typically define aggregates with a fixed number of parameters, not *args
8180class FixedTwoParamAggregate :
8281 def __init__ (self ) -> None :
8382 self .total = 0
@@ -89,8 +88,6 @@ def finalize(self) -> int:
8988 return self .total
9089
9190
92- # This is the common use case - n_arg=2 with a class that takes exactly 2 params
93- # This should work but might fail with the current *args protocol
9491con .create_aggregate ("sum2" , 2 , FixedTwoParamAggregate )
9592
9693
@@ -112,7 +109,6 @@ def finalize(self) -> int:
112109
113110
114111if sys .version_info >= (3 , 11 ):
115- # This should work - n_arg=3 with a class that takes exactly 3 params
116112 con .create_window_function ("sum3" , 3 , FixedThreeParamWindowAggregate )
117113
118114
You can’t perform that action at this time.
0 commit comments