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
b3c09423
Kaydet (Commit)
b3c09423
authored
Tem 03, 2006
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't run the doctests with Python 2.3 because it doesn't have the ELLIPSIS flag.
üst
dd854e91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
test_objects.py
Lib/ctypes/test/test_objects.py
+8
-4
No files found.
Lib/ctypes/test/test_objects.py
Dosyayı görüntüle @
b3c09423
...
@@ -54,13 +54,17 @@ of 'x' ('_b_base_' is either None, or the root object owning the memory block):
...
@@ -54,13 +54,17 @@ of 'x' ('_b_base_' is either None, or the root object owning the memory block):
'''
'''
import
unittest
,
doctest
import
unittest
,
doctest
,
sys
import
ctypes.test.test_objects
import
ctypes.test.test_objects
class
TestCase
(
unittest
.
TestCase
):
class
TestCase
(
unittest
.
TestCase
):
def
test
(
self
):
if
sys
.
hexversion
>
0x02040000
:
doctest
.
testmod
(
ctypes
.
test
.
test_objects
)
# Python 2.3 has no ELLIPSIS flag, so we don't test with this
# version:
def
test
(
self
):
doctest
.
testmod
(
ctypes
.
test
.
test_objects
)
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
doctest
.
testmod
(
ctypes
.
test
.
test_objects
)
if
sys
.
hexversion
>
0x02040000
:
doctest
.
testmod
(
ctypes
.
test
.
test_objects
)
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