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
572104ff
Kaydet (Commit)
572104ff
authored
Ock 12, 2007
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid warnings in the test suite because ctypes.wintypes cannot be
imported on non-windows systems.
üst
2464087b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test_win32.py
Lib/ctypes/test/test_win32.py
+2
-1
No files found.
Lib/ctypes/test/test_win32.py
Dosyayı görüntüle @
572104ff
...
...
@@ -3,7 +3,6 @@
from
ctypes
import
*
from
ctypes.test
import
is_resource_enabled
import
unittest
,
sys
from
ctypes
import
wintypes
import
_ctypes_test
...
...
@@ -49,9 +48,11 @@ if sys.platform == "win32":
class
TestWintypes
(
unittest
.
TestCase
):
def
test_HWND
(
self
):
from
ctypes
import
wintypes
self
.
failUnlessEqual
(
sizeof
(
wintypes
.
HWND
),
sizeof
(
c_void_p
))
def
test_PARAM
(
self
):
from
ctypes
import
wintypes
self
.
failUnlessEqual
(
sizeof
(
wintypes
.
WPARAM
),
sizeof
(
c_void_p
))
self
.
failUnlessEqual
(
sizeof
(
wintypes
.
LPARAM
),
...
...
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