attempt to skip the streamlit file for doctest modules
@@ -82,4 +82,6 @@ def pytest_ignore_collect(path, config): # pylint: disable = unused-argument
or "node_modules" in relative_path_list
or "site-packages" in relative_path_list
or ("_bundle" in relative_path_list and "python" in relative_path_list)
+ or config.getoption("--doctest-modules")
+ and "streamlit" in relative_path_list
)
