Message214112
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2014年03月19日.16:53:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1395248026.28.0.627328538995.issue20982@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Many Python unit tests use http://www.python.org/ but the URL is directed to https://www.python.org/. Tests fail if the ssl module is missing.
I modified test_urllib2.test_issue16464() but then I realized that many more tests are impacted: many tests of test_urllibnet.
---
changeset: 89857:ad0c75b7bd7d
tag: tip
parent: 89855:9120196b3114
parent: 89856:68335b8afb1f
user: Victor Stinner <victor.stinner@gmail.com>
date: Wed Mar 19 17:34:12 2014 +0100
description:
(Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl module is missing
changeset: 89856:68335b8afb1f
branch: 3.4
parent: 89852:c44258b4b7a4
user: Victor Stinner <victor.stinner@gmail.com>
date: Wed Mar 19 17:31:20 2014 +0100
files: Lib/test/test_urllib2.py
description:
Skip test_urllib2.test_issue16464() is the ssl module is missing
---
Should we modify all unit tests to skip them if ssl is missing, or should we use another HTTP URL? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年03月19日 16:53:46 | vstinner | set | recipients:
+ vstinner |
| 2014年03月19日 16:53:46 | vstinner | set | messageid: <1395248026.28.0.627328538995.issue20982@psf.upfronthosting.co.za> |
| 2014年03月19日 16:53:46 | vstinner | link | issue20982 messages |
| 2014年03月19日 16:53:46 | vstinner | create |
|