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
29f8cb64
Kaydet (Commit)
29f8cb64
authored
Kas 26, 2013
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #19588: Merge with 3.3
üst
518e6ee9
a6edea53
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
test_random.py
Lib/test/test_random.py
+6
-6
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+6
-0
No files found.
Lib/test/test_random.py
Dosyayı görüntüle @
29f8cb64
...
...
@@ -240,10 +240,10 @@ class SystemRandom_TestBasicOps(TestBasicOps, unittest.TestCase):
def
test_bigrand_ranges
(
self
):
for
i
in
[
40
,
80
,
160
,
200
,
211
,
250
,
375
,
512
,
550
]:
start
=
self
.
gen
.
randrange
(
2
**
i
)
stop
=
self
.
gen
.
randrange
(
2
**
(
i
-
2
)
)
start
=
self
.
gen
.
randrange
(
2
**
(
i
-
2
)
)
stop
=
self
.
gen
.
randrange
(
2
**
i
)
if
stop
<=
start
:
return
continue
self
.
assertTrue
(
start
<=
self
.
gen
.
randrange
(
start
,
stop
)
<
stop
)
def
test_rangelimits
(
self
):
...
...
@@ -432,10 +432,10 @@ class MersenneTwister_TestBasicOps(TestBasicOps, unittest.TestCase):
def
test_bigrand_ranges
(
self
):
for
i
in
[
40
,
80
,
160
,
200
,
211
,
250
,
375
,
512
,
550
]:
start
=
self
.
gen
.
randrange
(
2
**
i
)
stop
=
self
.
gen
.
randrange
(
2
**
(
i
-
2
)
)
start
=
self
.
gen
.
randrange
(
2
**
(
i
-
2
)
)
stop
=
self
.
gen
.
randrange
(
2
**
i
)
if
stop
<=
start
:
return
continue
self
.
assertTrue
(
start
<=
self
.
gen
.
randrange
(
start
,
stop
)
<
stop
)
def
test_rangelimits
(
self
):
...
...
Misc/ACKS
Dosyayı görüntüle @
29f8cb64
...
...
@@ -449,6 +449,7 @@ Dinu Gherman
Jonathan Giddy
Johannes Gijsbers
Michael Gilfix
Julian Gindi
Yannick Gingras
Matt Giuca
Wim Glenn
...
...
Misc/NEWS
Dosyayı görüntüle @
29f8cb64
...
...
@@ -21,6 +21,12 @@ Library
- Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime(). Initial patch by Claudiu Popa.
Tests
-----
- Issue #19588: Fixed tests in test_random that were silently skipped most
of the time. Patch by Julian Gindi.
What'
s
New
in
Python
3.4.0
Beta
1
?
==================================
...
...
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