소스 검색

code review

Falko Schindler 2 년 전
부모
커밋
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))