We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb17cf0 commit 7470c17Copy full SHA for 7470c17
tests/test_smoke.py
@@ -1,11 +1,10 @@
1
import importlib.util
2
import pathlib
3
4
-
5
def test_readme_exists():
6
assert (pathlib.Path(__file__).parents[1] / "README.md").exists()
7
8
9
def test_demo_imports():
+ # Should import without importing gradio (UI import is lazy)
10
spec = importlib.util.find_spec("gradio_demo")
11
assert spec is not None
0 commit comments