Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ea2835a8
Kaydet (Commit)
ea2835a8
authored
Mar 14, 2007
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Raise ResourceDenied in test_urllib2net when the Net connection goes bad.
üst
ed001842
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
test_urllib2net.py
Lib/test/test_urllib2net.py
+2
-1
NEWS
Misc/NEWS
+2
-1
No files found.
Lib/test/test_urllib2net.py
Dosyayı görüntüle @
ea2835a8
...
@@ -264,7 +264,8 @@ class OtherNetworkTests(unittest.TestCase):
...
@@ -264,7 +264,8 @@ class OtherNetworkTests(unittest.TestCase):
(
expected_err
,
url
,
req
,
err
))
(
expected_err
,
url
,
req
,
err
))
self
.
assert_
(
isinstance
(
err
,
expected_err
),
msg
)
self
.
assert_
(
isinstance
(
err
,
expected_err
),
msg
)
else
:
else
:
buf
=
f
.
read
()
with
test_support
.
transient_internet
():
buf
=
f
.
read
()
f
.
close
()
f
.
close
()
debug
(
"read
%
d bytes"
%
len
(
buf
))
debug
(
"read
%
d bytes"
%
len
(
buf
))
debug
(
"******** next url coming up..."
)
debug
(
"******** next url coming up..."
)
...
...
Misc/NEWS
Dosyayı görüntüle @
ea2835a8
...
@@ -624,7 +624,8 @@ Extension Modules
...
@@ -624,7 +624,8 @@ Extension Modules
Tests
Tests
-----
-----
- Capture and silence socket connection resets and timeouts in test_socket_ssl.
- Capture socket connection resets and timeouts in test_socket_ssl and
test_urllib2net and raise test.test_support.ResourceDenied.
- Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
- Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment