1
0
Falko Schindler 2 жил өмнө
parent
commit
ab6a50adcc
1 өөрчлөгдсөн 0 нэмэгдсэн , 3 устгасан
  1. 0 3
      tests/test_element.py

+ 0 - 3
tests/test_element.py

@@ -130,11 +130,8 @@ def test_remove_and_clear(screen: Screen):
 
 def test_setting_visibility_in_timer(screen: Screen):
     '''reproduction of https://github.com/zauberzeug/nicegui/issues/206'''
-    label: ui.label = None
-
     @ui.page('/')
     def page():
-        nonlocal label
         label = ui.label('Some Label')
         ui.timer(1, lambda: label.set_visibility(False))