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
c12f09ed
Kaydet (Commit)
c12f09ed
authored
Kas 12, 2013
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #19440: Clean up test_capi
üst
0eac43a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
13 deletions
+11
-13
test_capi.py
Lib/test/test_capi.py
+7
-13
NEWS
Misc/NEWS
+4
-0
No files found.
Lib/test/test_capi.py
Dosyayı görüntüle @
c12f09ed
# Run the _testcapi module tests (tests for the Python/C API): by defn,
# these are all functions _testcapi exports whose name begins with 'test_'.
from
__future__
import
with_statement
import
os
import
pickle
import
random
...
...
@@ -351,17 +350,12 @@ class TestThreadState(unittest.TestCase):
t
.
start
()
t
.
join
()
def
test_main
():
support
.
run_unittest
(
CAPITest
,
TestPendingCalls
,
Test6012
,
EmbeddingTest
,
SkipitemTest
,
TestThreadState
)
for
name
in
dir
(
_testcapi
):
if
name
.
startswith
(
'test_'
):
test
=
getattr
(
_testcapi
,
name
)
if
support
.
verbose
:
print
(
"internal"
,
name
)
test
()
class
Test_testcapi
(
unittest
.
TestCase
):
def
test__testcapi
(
self
):
for
name
in
dir
(
_testcapi
):
if
name
.
startswith
(
'test_'
):
test
=
getattr
(
_testcapi
,
name
)
test
()
if
__name__
==
"__main__"
:
test_
main
()
unittest
.
main
()
Misc/NEWS
Dosyayı görüntüle @
c12f09ed
...
...
@@ -42,6 +42,10 @@ Library
Tests
-----
- Issue #19440: Clean up test_capi by removing an unnecessary __future__
import, converting from test_main to unittest.main, and running the
_testcapi module tests within a unittest TestCase.
- Issue #18702: All skipped tests now reported as skipped.
- Issue #19085: Added basic tests for all tkinter widget options.
...
...
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