# Standard library submodules that are not detected by pkgutil.iter_modules
# but can be imported, so should be proposed in completion
"collections": ["abc"],
+ "math": ["integer"],
"os": ["path"],
"xml.parsers.expat": ["errors", "model"],
}
cases = (
("import collections.\t\n", "import collections.abc"),
("from os import \t\n", "from os import path"),
+ ("import math.\t\n", "import math.integer"),
("import xml.parsers.expat.\t\te\t\n\n", "import xml.parsers.expat.errors"),
("from xml.parsers.expat import \t\tm\t\n\n", "from xml.parsers.expat import model"),
)