Files
shredos.x86_64/support/testing/tests/package/sample_python_urllib3.py
2026-01-06 22:53:29 +00:00

10 lines
308 B
Python

# Check that we can import urllib3 even if we don't use all of it:
import urllib3
# Just check that we can create a PoolManager:
http = urllib3.PoolManager()
# Check if we can normalize URLs:
assert urllib3.util.url.parse_url("HTTPS://Example.Com/?Key=Value").url \
== "https://example.com/?Key=Value"