Package loadable: compare case insensitive (#16234)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-08-28 10:53:12 +02:00
1 parent 376d4e4fa0
commit a14980716d
2 files changed
+6 -1

No files matched your search

+3
View File
@@ -239,3 +239,6 @@ def test_package_loadable_installed_twice():
with patch('pkg_resources.find_distributions', side_effect=[[v2]]):
assert package.package_loadable('hello==2.0.0')
with patch('pkg_resources.find_distributions', side_effect=[[v2]]):
assert package.package_loadable('Hello==2.0.0')