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
f10c400b
Kaydet (Commit)
f10c400b
authored
Ara 01, 2010
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix test failure in debug builds and add NEWS entry for r86908
üst
60901876
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
test_runner.py
Lib/unittest/test/test_runner.py
+3
-3
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/unittest/test/test_runner.py
Dosyayı görüntüle @
f10c400b
...
...
@@ -266,7 +266,7 @@ class Test_TextTestRunner(unittest.TestCase):
# no args -> all the warnings are printed, unittest warnings only once
p
=
subprocess
.
Popen
([
sys
.
executable
,
'_test_warnings.py'
],
**
opts
)
out
,
err
=
get_parse_out_err
(
p
)
self
.
assert
Equal
(
err
[
-
1
],
b
'OK'
)
self
.
assert
In
(
b
'OK'
,
err
)
# check that the total number of warnings in the output is correct
self
.
assertEqual
(
len
(
out
),
12
)
# check that the numbers of the different kind of warnings is correct
...
...
@@ -287,7 +287,7 @@ class Test_TextTestRunner(unittest.TestCase):
for
args
in
args_list
:
p
=
subprocess
.
Popen
(
args
,
**
opts
)
out
,
err
=
get_parse_out_err
(
p
)
self
.
assert
Equal
(
err
[
-
1
],
b
'OK'
)
self
.
assert
In
(
b
'OK'
,
err
)
self
.
assertEqual
(
len
(
out
),
0
)
...
...
@@ -296,7 +296,7 @@ class Test_TextTestRunner(unittest.TestCase):
p
=
subprocess
.
Popen
([
sys
.
executable
,
'_test_warnings.py'
,
'always'
],
**
opts
)
out
,
err
=
get_parse_out_err
(
p
)
self
.
assert
Equal
(
err
[
-
1
],
b
'OK'
)
self
.
assert
In
(
b
'OK'
,
err
)
self
.
assertEqual
(
len
(
out
),
14
)
for
msg
in
[
b
'dw'
,
b
'iw'
,
b
'uw'
,
b
'rw'
]:
self
.
assertEqual
(
out
.
count
(
msg
),
3
)
...
...
Misc/NEWS
Dosyayı görüntüle @
f10c400b
...
...
@@ -46,6 +46,8 @@ Core and Builtins
Library
-------
- Issue #10535: Enable silenced warnings in unittest by default.
- Issue #9873: The URL parsing functions in urllib.parse now accept
ASCII byte sequences as input in addition to character strings.
...
...
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