We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
architecture/test_vertexai_import
1 parent 02ffd27 commit a6f68dfCopy full SHA for a6f68df
tests/unit/architecture/test_vertexai_import.py
@@ -34,7 +34,7 @@ def test_vertexai_import():
34
# My solution is to ignore modules that are parents of the current test module.
35
modules_before_aip = set(sys.modules)
36
for module_name in modules_before_aip:
37
- assert "aiplatform" not in module_name or __name__.startswith(module_name)
+ assert ".aiplatform" not in module_name or __name__.startswith(module_name)
38
assert "vertexai" not in module_name or __name__.startswith(module_name)
39
40
# Test aiplatform import
0 commit comments