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
317d350f
Kaydet (Commit)
317d350f
authored
Eki 02, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Moved Unicode C API related tests to separate test class.
üst
b8a1a270
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
test_unicode.py
Lib/test/test_unicode.py
+7
-5
No files found.
Lib/test/test_unicode.py
Dosyayı görüntüle @
317d350f
...
...
@@ -1665,6 +1665,13 @@ class UnicodeTest(
self
.
assertEqual
(
"
%
s"
%
u
,
u'__unicode__ overridden'
)
self
.
assertEqual
(
"{}"
.
format
(
u
),
'__unicode__ overridden'
)
def
test_free_after_iterating
(
self
):
test_support
.
check_free_after_iterating
(
self
,
iter
,
unicode
)
test_support
.
check_free_after_iterating
(
self
,
reversed
,
unicode
)
class
CAPITest
(
unittest
.
TestCase
):
# Test PyUnicode_FromFormat()
def
test_from_format
(
self
):
test_support
.
import_module
(
'ctypes'
)
...
...
@@ -1857,11 +1864,6 @@ class UnicodeTest(
unicode_encodedecimal
(
u"123"
+
s
,
"xmlcharrefreplace"
),
'123'
+
exp
)
def
test_free_after_iterating
(
self
):
test_support
.
check_free_after_iterating
(
self
,
iter
,
unicode
)
test_support
.
check_free_after_iterating
(
self
,
reversed
,
unicode
)
def
test_main
():
test_support
.
run_unittest
(
__name__
)
...
...
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