File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
pyscript.core/tests/integration Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -342,9 +342,6 @@ def test_display_HTML(self):
342
342
assert out .inner_html () == "<p>hello world</p>"
343
343
assert out .inner_text () == "hello world"
344
344
345
- # waiit_for_pyscript is broken: it waits until the python code is about to
346
- # start, to until the python code has finished execution
347
- @pytest .mark .skip ("FIXME: wait_for_pyscript is broken" )
348
345
def test_image_display (self ):
349
346
self .pyscript_run (
350
347
"""
@@ -357,7 +354,8 @@ def test_image_display(self):
357
354
plt.plot(xpoints, ypoints)
358
355
display(plt)
359
356
</script>
360
- """
357
+ """ ,
358
+ timeout = 30 * 1000 ,
361
359
)
362
360
wait_for_render (self .page , "*" , "<img src=['\" ]data:image" )
363
361
test = self .page .wait_for_selector ("img" )
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ def test_script_type_py_src_attribute(self):
81
81
)
82
82
assert self .console .log .lines [- 1 ] == "hello from foo"
83
83
84
- @pytest .mark .skip ("FIXME: wait_for_pyscript is broken" )
85
84
def test_script_type_py_worker_attribute (self ):
86
85
self .writefile ("foo.py" , "print('hello from foo')" )
87
86
self .pyscript_run (
You can’t perform that action at this time.
0 commit comments