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
6b794b8b
Kaydet (Commit)
6b794b8b
authored
May 01, 2014
tarafından
Stefan Krah
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix typo and tests without docstrings.
üst
5de1f824
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test_decimal.py
Lib/test/test_decimal.py
+3
-2
No files found.
Lib/test/test_decimal.py
Dosyayı görüntüle @
6b794b8b
...
@@ -33,7 +33,7 @@ import unittest
...
@@ -33,7 +33,7 @@ import unittest
import
numbers
import
numbers
import
locale
import
locale
from
test.support
import
(
run_unittest
,
run_doctest
,
is_resource_enabled
,
from
test.support
import
(
run_unittest
,
run_doctest
,
is_resource_enabled
,
requires_IEEE_754
)
requires_IEEE_754
,
requires_docstrings
)
from
test.support
import
(
check_warnings
,
import_fresh_module
,
TestFailed
,
from
test.support
import
(
check_warnings
,
import_fresh_module
,
TestFailed
,
run_with_locale
,
cpython_only
)
run_with_locale
,
cpython_only
)
import
random
import
random
...
@@ -5391,7 +5391,8 @@ class CWhitebox(unittest.TestCase):
...
@@ -5391,7 +5391,8 @@ class CWhitebox(unittest.TestCase):
y
=
Decimal
(
10
**
(
9
*
25
))
.
__sizeof__
()
y
=
Decimal
(
10
**
(
9
*
25
))
.
__sizeof__
()
self
.
assertEqual
(
y
,
x
+
4
)
self
.
assertEqual
(
y
,
x
+
4
)
unittest
.
skipUnless
(
C
,
"test requires C version"
)
@requires_docstrings
@unittest.skipUnless
(
C
,
"test requires C version"
)
class
SignatureTest
(
unittest
.
TestCase
):
class
SignatureTest
(
unittest
.
TestCase
):
"""Function signatures"""
"""Function signatures"""
...
...
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