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
0ac8aa7f
Kaydet (Commit)
0ac8aa7f
authored
Nis 11, 2015
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Unittest for Issue 21511 by Christie Wilson bobcatfish@gmail.com (merge from 3.4).
üst
3323da92
e173c075
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
test_quopri.py
Lib/test/test_quopri.py
+7
-0
No files found.
Lib/test/test_quopri.py
Dosyayı görüntüle @
0ac8aa7f
...
...
@@ -137,6 +137,13 @@ zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz''')
for
p
,
e
in
self
.
STRINGS
:
self
.
assertEqual
(
quopri
.
decodestring
(
e
),
p
)
@withpythonimplementation
def
test_decodestring_double_equals
(
self
):
# Issue 21511 - Ensure that byte string is compared to byte string
# instead of int byte value
decoded_value
,
encoded_value
=
(
b
"123=four"
,
b
"123==four"
)
self
.
assertEqual
(
quopri
.
decodestring
(
encoded_value
),
decoded_value
)
@withpythonimplementation
def
test_idempotent_string
(
self
):
for
p
,
e
in
self
.
STRINGS
:
...
...
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