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
152d61aa
Kaydet (Commit)
152d61aa
authored
Kas 06, 2011
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix tests now that the callable warning is gone.
üst
a5ae1f0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
test_bool.py
Lib/test/test_bool.py
+2
-3
test_builtin.py
Lib/test/test_builtin.py
+0
-1
No files found.
Lib/test/test_bool.py
Dosyayı görüntüle @
152d61aa
...
...
@@ -180,9 +180,8 @@ class BoolTest(unittest.TestCase):
self
.
assertIs
(
hasattr
([],
"wobble"
),
False
)
def
test_callable
(
self
):
with
test_support
.
check_py3k_warnings
():
self
.
assertIs
(
callable
(
len
),
True
)
self
.
assertIs
(
callable
(
1
),
False
)
self
.
assertIs
(
callable
(
len
),
True
)
self
.
assertIs
(
callable
(
1
),
False
)
def
test_isinstance
(
self
):
self
.
assertIs
(
isinstance
(
True
,
bool
),
True
)
...
...
Lib/test/test_builtin.py
Dosyayı görüntüle @
152d61aa
...
...
@@ -1683,7 +1683,6 @@ class TestSorted(unittest.TestCase):
def
_run_unittest
(
*
args
):
with
check_py3k_warnings
(
(
".+ not supported in 3.1"
,
DeprecationWarning
),
(
".+ not supported in 3.x"
,
DeprecationWarning
),
(
".+ is renamed to imp.reload"
,
DeprecationWarning
),
(
"classic int division"
,
DeprecationWarning
)):
...
...
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