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
e98209c2
Kaydet (Commit)
e98209c2
authored
May 20, 2015
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
üst
ba9ac5b5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
14 deletions
+0
-14
core.py
Lib/distutils/core.py
+0
-2
regrtest.py
Lib/test/regrtest.py
+0
-4
test_urllib2net.py
Lib/test/test_urllib2net.py
+0
-2
font.py
Lib/tkinter/font.py
+0
-2
support.py
Lib/unittest/test/support.py
+0
-4
No files found.
Lib/distutils/core.py
Dosyayı görüntüle @
e98209c2
...
...
@@ -221,8 +221,6 @@ def run_setup (script_name, script_args=None, stop_after="run"):
# Hmm, should we do something if exiting with a non-zero code
# (ie. error)?
pass
except
:
raise
if
_setup_distribution
is
None
:
raise
RuntimeError
((
"'distutils.core.setup()' was never called -- "
...
...
Lib/test/regrtest.py
Dosyayı görüntüle @
e98209c2
...
...
@@ -765,8 +765,6 @@ def main(tests=None, **kwargs):
except
KeyboardInterrupt
:
interrupted
=
True
break
except
:
raise
if
ns
.
findleaks
:
gc
.
collect
()
if
gc
.
garbage
:
...
...
@@ -823,8 +821,6 @@ def main(tests=None, **kwargs):
# print a newline separate from the ^C
print
()
break
except
:
raise
if
ns
.
single
:
if
next_single_test
:
...
...
Lib/test/test_urllib2net.py
Dosyayı görüntüle @
e98209c2
...
...
@@ -20,8 +20,6 @@ def _retry_thrice(func, exc, *args, **kwargs):
except
exc
as
e
:
last_exc
=
e
continue
except
:
raise
raise
last_exc
def
_wrap_with_retry_thrice
(
func
,
exc
):
...
...
Lib/tkinter/font.py
Dosyayı görüntüle @
e98209c2
...
...
@@ -112,8 +112,6 @@ class Font:
try
:
if
self
.
delete_font
:
self
.
_call
(
"font"
,
"delete"
,
self
.
name
)
except
(
KeyboardInterrupt
,
SystemExit
):
raise
except
Exception
:
pass
...
...
Lib/unittest/test/support.py
Dosyayı görüntüle @
e98209c2
...
...
@@ -25,8 +25,6 @@ class TestHashing(object):
try
:
if
not
hash
(
obj_1
)
==
hash
(
obj_2
):
self
.
fail
(
"
%
r and
%
r do not hash equal"
%
(
obj_1
,
obj_2
))
except
KeyboardInterrupt
:
raise
except
Exception
as
e
:
self
.
fail
(
"Problem hashing
%
r and
%
r:
%
s"
%
(
obj_1
,
obj_2
,
e
))
...
...
@@ -35,8 +33,6 @@ class TestHashing(object):
if
hash
(
obj_1
)
==
hash
(
obj_2
):
self
.
fail
(
"
%
s and
%
s hash equal, but shouldn't"
%
(
obj_1
,
obj_2
))
except
KeyboardInterrupt
:
raise
except
Exception
as
e
:
self
.
fail
(
"Problem hashing
%
s and
%
s:
%
s"
%
(
obj_1
,
obj_2
,
e
))
...
...
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