Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit a882890

Browse files
committed
update tests
1 parent 6f54178 commit a882890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/schema/test_imp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ def test_str_alias():
3232

3333
def test_str_untyped_pb2():
3434
i = imp.Import(package=("foo", "bar"), module="baz_pb2", alias="bacon")
35-
assert str(i) == "from foo.bar import baz_pb2 as bacon # type: ignore"
35+
assert str(i) == "import foo.bar.baz_pb2 as bacon # type: ignore"
3636

3737

3838
def test_str_untyped_api_core():
3939
i = imp.Import(package=("foo", "api_core"), module="baz", alias="bacon")
40-
assert str(i) == "from foo.api_core import baz as bacon # type: ignore"
40+
assert str(i) == "import foo.api_core.baz as bacon # type: ignore"
4141

4242

4343
def test_str_eq():

0 commit comments

Comments
 (0)