Skip to content

Commit d2a93af

Browse files
committed
tweak test
1 parent ba2d145 commit d2a93af

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stdlib/@tests/test_cases/sqlite3/check_aggregations.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
8180
class 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
9491
con.create_aggregate("sum2", 2, FixedTwoParamAggregate)
9592

9693

@@ -112,7 +109,6 @@ def finalize(self) -> int:
112109

113110

114111
if 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

0 commit comments

Comments
 (0)