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
4afc1c08
Kaydet (Commit)
4afc1c08
authored
Tem 20, 2012
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge
üst
6ee96952
b17ad53e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
test_bitfields.py
Lib/ctypes/test/test_bitfields.py
+4
-4
ACKS
Misc/ACKS
+1
-0
No files found.
Lib/ctypes/test/test_bitfields.py
Dosyayı görüntüle @
4afc1c08
...
...
@@ -246,9 +246,9 @@ class BitFieldTest(unittest.TestCase):
_fields_
=
[(
"a"
,
c_uint32
,
32
)]
x
=
X
()
x
.
a
=
10
self
.
assertEqual
s
(
x
.
a
,
10
)
self
.
assertEqual
(
x
.
a
,
10
)
x
.
a
=
0xFDCBA987
self
.
assertEqual
s
(
x
.
a
,
0xFDCBA987
)
self
.
assertEqual
(
x
.
a
,
0xFDCBA987
)
@unittest.skipUnless
(
hasattr
(
ctypes
,
"c_uint64"
),
"c_int64 is required"
)
def
test_uint64
(
self
):
...
...
@@ -256,9 +256,9 @@ class BitFieldTest(unittest.TestCase):
_fields_
=
[(
"a"
,
c_uint64
,
64
)]
x
=
X
()
x
.
a
=
10
self
.
assertEqual
s
(
x
.
a
,
10
)
self
.
assertEqual
(
x
.
a
,
10
)
x
.
a
=
0xFEDCBA9876543211
self
.
assertEqual
s
(
x
.
a
,
0xFEDCBA9876543211
)
self
.
assertEqual
(
x
.
a
,
0xFEDCBA9876543211
)
if
__name__
==
"__main__"
:
unittest
.
main
()
Misc/ACKS
Dosyayı görüntüle @
4afc1c08
...
...
@@ -866,6 +866,7 @@ Bernhard Reiter
Steven Reiz
Roeland Rengelink
Antoine Reversat
Flávio Ribeiro
Francesco Ricciardi
Tim Rice
Jan Pieter Riegel
...
...
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