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
3321fb8e
Kaydet (Commit)
3321fb8e
authored
Eki 18, 2013
tarafından
Nick Coghlan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #16129: this should appease the buildbots
üst
8acc3c57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
test_capi.py
Lib/test/test_capi.py
+7
-8
No files found.
Lib/test/test_capi.py
Dosyayı görüntüle @
3321fb8e
...
...
@@ -260,7 +260,6 @@ class EmbeddingTests(unittest.TestCase):
print
(
out
)
print
(
err
)
@unittest.skip
def
test_forced_io_encoding
(
self
):
# Checks forced configuration of embedded interpreter IO streams
out
,
err
=
self
.
run_embedded_interpreter
(
"forced_io_encoding"
)
...
...
@@ -272,15 +271,15 @@ class EmbeddingTests(unittest.TestCase):
--- Use defaults ---
Expected encoding: default
Expected errors: default
stdin: {0.
stdin
.encoding}:strict
stdout: {0.
stdout
.encoding}:strict
stderr: {0.
stderr
.encoding}:backslashreplace
stdin: {0.
__stdin__
.encoding}:strict
stdout: {0.
__stdout__
.encoding}:strict
stderr: {0.
__stderr__
.encoding}:backslashreplace
--- Set errors only ---
Expected encoding: default
Expected errors: surrogateescape
stdin: {0.
stdin
.encoding}:surrogateescape
stdout: {0.
stdout
.encoding}:surrogateescape
stderr: {0.
stderr
.encoding}:backslashreplace
stdin: {0.
__stdin__
.encoding}:surrogateescape
stdout: {0.
__stdout__
.encoding}:surrogateescape
stderr: {0.
__stderr__
.encoding}:backslashreplace
--- Set encoding only ---
Expected encoding: latin-1
Expected errors: default
...
...
@@ -293,7 +292,7 @@ class EmbeddingTests(unittest.TestCase):
stdin: latin-1:surrogateescape
stdout: latin-1:surrogateescape
stderr: latin-1:backslashreplace"""
)
.
format
(
sys
)
#
Looks like this overspecifies the output :(
#
This is useful if we ever trip over odd platform behaviour
self
.
maxDiff
=
None
self
.
assertEqual
(
out
.
strip
(),
expected_output
)
...
...
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