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
c6edb372
Kaydet (Commit)
c6edb372
authored
Agu 22, 2002
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Test an em-dash with adjacent punctuation.
üst
715debd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test_textwrap.py
Lib/test/test_textwrap.py
+6
-0
No files found.
Lib/test/test_textwrap.py
Dosyayı görüntüle @
c6edb372
...
@@ -166,6 +166,12 @@ What a mess!
...
@@ -166,6 +166,12 @@ What a mess!
"and"
,
" "
,
"another!"
]
"and"
,
" "
,
"another!"
]
self
.
check_split
(
self
.
wrapper
,
text
,
expect
)
self
.
check_split
(
self
.
wrapper
,
text
,
expect
)
text
=
"and then--bam!--he was gone"
expect
=
[
"and"
,
" "
,
"then"
,
"--"
,
"bam!"
,
"--"
,
"he"
,
" "
,
"was"
,
" "
,
"gone"
]
self
.
check_split
(
self
.
wrapper
,
text
,
expect
)
def
test_unix_options
(
self
):
def
test_unix_options
(
self
):
# Test that Unix-style command-line options are wrapped correctly.
# Test that Unix-style command-line options are wrapped correctly.
# Both Optik (OptionParser) and Docutils rely on this behaviour!
# Both Optik (OptionParser) and Docutils rely on this behaviour!
...
...
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