We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acf0d9e commit 0d9c123Copy full SHA for 0d9c123
Lib/test/test_venv.py
@@ -886,6 +886,14 @@ def do_test_with_pip(self, system_site_packages):
886
err = re.sub("^(WARNING: )?The directory .* or its parent directory "
887
"is not owned or is not writable by the current user.*$", "",
888
err, flags=re.MULTILINE)
889
+ # Ignore warning about missing optional module:
890
+ try:
891
+ import ssl
892
+ except ImportError:
893
+ err = re.sub(
894
+ "^WARNING: Disabling truststore since ssl support is missing$",
895
+ "",
896
+ err, flags=re.MULTILINE)
897
self.assertEqual(err.rstrip(), "")
898
# Being fairly specific regarding the expected behaviour for the
899
# initial bundling phase in Python 3.4. If the output changes in
0 commit comments