Skip to content

Commit

Permalink
fix TU with callback without args (?!)
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed Mar 18, 2024
1 parent 109585b commit 0d95319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def action2():


def test_binded_concatenate_strings(): #TODO: need more tests
def action1():
def action1(o):
pass

s=Tag.button("hello")
Expand Down Expand Up @@ -115,7 +115,7 @@ def action(self):
assert "try{let x=41;" in s

def test_binded_parent_callback(): # args/kargs
def action():
def action(o):
pass

p=Tag.div()
Expand Down
2 changes: 1 addition & 1 deletion test_new_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_new_events(): # >0.7.4
assert len(t["onclick"]._others ) == 1

def test_base():
def test():
def test(o):
print("kkk")

b=Tag.button("hello")
Expand Down

0 comments on commit 0d95319

Please sign in to comment.