Skip to content
Permalink
Browse files

Update test_faq_missing.py

  • Loading branch information...
sdpython committed Jan 29, 2019
1 parent f95da0b commit b7e151b2306b4cdfca21f4fd23a12e4441595672
Showing with 2 additions and 1 deletion.
  1. +2 −1 _unittests/ut_faq/test_faq_missing.py
@@ -5,6 +5,7 @@
import sys
import os
import unittest
import warnings
from datetime import datetime
from pyquickhelper.loghelper import fLOG
from pyquickhelper.pycode import ExtTestCase
@@ -59,7 +60,7 @@ def test_faq_pythonm_pip(self):

try:
list_of_installed_packages()
except ImportModule as e:
except ImportError as e:
if "cannot import name 'get_installed_distributions'" in str(e):
warnings.warn("This should be fixed in a future release.")
return

0 comments on commit b7e151b

Please sign in to comment.
You can’t perform that action at this time.