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 f2cc8ad commit c536f59Copy full SHA for c536f59
Lib/test/test_venv.py
@@ -782,6 +782,14 @@ def do_test_with_pip(self, system_site_packages):
782
err = re.sub("^(WARNING: )?The directory .* or its parent directory "
783
"is not owned or is not writable by the current user.*$", "",
784
err, flags=re.MULTILINE)
785
+ # Ignore warning about missing optional module:
786
+ try:
787
+ import ssl
788
+ except ImportError:
789
+ err = re.sub(
790
+ "^WARNING: Disabling truststore since ssl support is missing$",
791
+ "",
792
+ err, flags=re.MULTILINE)
793
self.assertEqual(err.rstrip(), "")
794
# Being fairly specific regarding the expected behaviour for the
795
# initial bundling phase in Python 3.4. If the output changes in
0 commit comments