22 from packaging
import version
25 class TestVirtualenv(unittest.TestCase):
26 def test_import(self):
27 requests = importlib.import_module(
"requests")
28 self.assertLessEqual(version.parse(requests.__version__), version.parse(
"2.21"))
30 _ = importlib.import_module(
"packaging")