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
feb8cade
Kaydet (Commit)
feb8cade
authored
Eyl 06, 2008
tarafından
Amaury Forgeot d'Arc
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#3796: A test class was not run in test_float.
Reviewed by Benjamin.
üst
cd52023e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
test_float.py
Lib/test/test_float.py
+3
-1
NEWS
Misc/NEWS
+5
-3
No files found.
Lib/test/test_float.py
Dosyayı görüntüle @
feb8cade
...
...
@@ -5,6 +5,7 @@ from test import test_support
import
math
from
math
import
isinf
,
isnan
,
copysign
,
ldexp
import
operator
import
random
,
fractions
INF
=
float
(
"inf"
)
NAN
=
float
(
"nan"
)
...
...
@@ -23,7 +24,7 @@ class GeneralFloatCases(unittest.TestCase):
self
.
assertRaises
(
ValueError
,
float
,
"+-3.14"
)
self
.
assertRaises
(
ValueError
,
float
,
"-+3.14"
)
self
.
assertRaises
(
ValueError
,
float
,
"--3.14"
)
if
have_unicode
:
if
test_support
.
have_unicode
:
self
.
assertEqual
(
float
(
unicode
(
" 3.14 "
)),
3.14
)
self
.
assertEqual
(
float
(
unicode
(
"
\u0663
.
\u0661\u0664
"
,
'raw-unicode-escape'
)),
3.14
)
# Implementation limitation in PyFloat_FromString()
...
...
@@ -736,6 +737,7 @@ class HexFloatTestCase(unittest.TestCase):
def
test_main
():
test_support
.
run_unittest
(
GeneralFloatCases
,
FormatFunctionsTestCase
,
UnknownFormatTestCase
,
IEEEFormatTestCase
,
...
...
Misc/NEWS
Dosyayı görüntüle @
feb8cade
...
...
@@ -114,13 +114,15 @@ Extension Modules
Tests
-----
- Issue 3768: Move test_py3kwarn over to the new API for catch_warnings().
- Issue #3796: Some tests functions were not enabled in test_float.
- Issue #3768: Move test_py3kwarn over to the new API for catch_warnings().
Build
-----
- Issue
3758: Rename the 'check' target to 'patchcheck' so as to not clash with
GNU build target guidelines.
- Issue
#3758: Rename the 'check' target to 'patchcheck' so as to not clash
with
GNU build target guidelines.
What's New in Python 2.6 beta 3?
...
...
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