File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -934,27 +934,27 @@ emarg/foo.py:1: error: Name 'fail' is not defined
934934emarg/hatch/villip/mankangulisk.py:1: error: Name 'fail' is not defined
935935
936936[case testPackageRootEmpty]
937- # cmd: mypy --package-root= a/b/c.py main.py
937+ # cmd: mypy --namespace-packages -- package-root= a/b/c.py main.py
938938[file a/b/c.py]
939939[file main.py]
940940import a.b.c
941941
942942[case testPackageRootNonEmpty]
943- # cmd: mypy --package-root=a/ a/b/c.py main.py
943+ # cmd: mypy --namespace-packages -- package-root=a/ a/b/c.py main.py
944944[file a/b/c.py]
945945[file main.py]
946946import b.c
947947
948948[case testPackageRootMultiple1]
949- # cmd: mypy --package-root=. --package-root=a a/b/c.py d.py main.py
949+ # cmd: mypy --namespace-packages -- package-root=. --package-root=a a/b/c.py d.py main.py
950950[file a/b/c.py]
951951[file d.py]
952952[file main.py]
953953import b.c
954954import d
955955
956956[case testPackageRootMultiple2]
957- # cmd: mypy --package-root=a/ --package-root=./ a/b/c.py d.py main.py
957+ # cmd: mypy --namespace-packages -- package-root=a/ --package-root=./ a/b/c.py d.py main.py
958958[file a/b/c.py]
959959[file d.py]
960960[file main.py]
You can’t perform that action at this time.
0 commit comments