We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aee6d7e commit f153a2eCopy full SHA for f153a2e
1 file changed
tests/test_imports.py
@@ -80,7 +80,7 @@ def check_version_eq(package, ver):
80
py_mod = _import(mod_map.get(mod, mod))
81
if mod not in bad_ver and "." not in mod:
82
ver_lines = [
83
- line
+ line.split("#")[0].strip()
84
for line in all_lines
85
if line.startswith(f"- {ver_map.get(mod, mod).lower()} =")
86
]
0 commit comments