Procházet zdrojové kódy

try to fix flaky test with larger interval

Falko Schindler před 2 roky
rodič
revize
7ebf5daa82
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tests/test_3d_scene.py

+ 1 - 1
tests/test_3d_scene.py

@@ -7,7 +7,7 @@ from .screen import Screen
 def test_moving_sphere_with_timer(screen: Screen):
     with ui.scene() as scene:
         sphere = scene.sphere()
-        ui.timer(0.03, lambda: sphere.move(0, 0, sphere.z + 0.01))
+        ui.timer(0.1, lambda: sphere.move(0, 0, sphere.z + 0.01))
 
     screen.open('/')