Skip to content

Commit 7470c17

Browse files
Update test_smoke.py
1 parent bb17cf0 commit 7470c17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_smoke.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import importlib.util
22
import pathlib
33

4-
54
def test_readme_exists():
65
assert (pathlib.Path(__file__).parents[1] / "README.md").exists()
76

8-
97
def test_demo_imports():
8+
# Should import without importing gradio (UI import is lazy)
109
spec = importlib.util.find_spec("gradio_demo")
1110
assert spec is not None

0 commit comments

Comments
 (0)