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
358751e7
Kaydet (Commit)
358751e7
authored
Şub 04, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
üst
1d0bb9c8
a66b46aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
test_returnfuncptrs.py
Lib/ctypes/test/test_returnfuncptrs.py
+4
-1
No files found.
Lib/ctypes/test/test_returnfuncptrs.py
Dosyayı görüntüle @
358751e7
import
unittest
from
ctypes
import
*
import
os
import
_ctypes_test
...
...
@@ -33,6 +34,7 @@ class ReturnFuncPtrTestCase(unittest.TestCase):
self
.
assertRaises
(
ArgumentError
,
strchr
,
b
"abcdef"
,
3.0
)
self
.
assertRaises
(
TypeError
,
strchr
,
b
"abcdef"
)
@unittest.skipIf
(
os
.
name
==
'nt'
,
'Temporarily disabled for Windows'
)
def
test_from_dll
(
self
):
dll
=
CDLL
(
_ctypes_test
.
__file__
)
# _CFuncPtr instances are now callable with a tuple argument
...
...
@@ -43,8 +45,9 @@ class ReturnFuncPtrTestCase(unittest.TestCase):
self
.
assertRaises
(
ArgumentError
,
strchr
,
b
"abcdef"
,
3.0
)
self
.
assertRaises
(
TypeError
,
strchr
,
b
"abcdef"
)
@unittest.skipIf
(
os
.
name
==
'nt'
,
'Temporarily disabled for Windows'
)
# Issue 6083: Reference counting bug
def
test_
test_
from_dll_refcount
(
self
):
def
test_from_dll_refcount
(
self
):
class
BadSequence
(
tuple
):
def
__getitem__
(
self
,
key
):
if
key
==
0
:
...
...
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