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
aa1ac546
Kaydet (Commit)
aa1ac546
authored
Nis 17, 2003
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get test to work under regrtest when running whole suite
üst
30b6e823
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
test_shlex.py
Lib/test/test_shlex.py
+6
-1
No files found.
Lib/test/test_shlex.py
Dosyayı görüntüle @
aa1ac546
...
@@ -3,6 +3,8 @@ import unittest
...
@@ -3,6 +3,8 @@ import unittest
import
os
,
sys
import
os
,
sys
import
shlex
import
shlex
from
test
import
test_support
try
:
try
:
from
cStringIO
import
StringIO
from
cStringIO
import
StringIO
except
ImportError
:
except
ImportError
:
...
@@ -187,5 +189,8 @@ if not getattr(shlex, "split", None):
...
@@ -187,5 +189,8 @@ if not getattr(shlex, "split", None):
if
methname
.
startswith
(
"test"
)
and
methname
!=
"testCompat"
:
if
methname
.
startswith
(
"test"
)
and
methname
!=
"testCompat"
:
delattr
(
ShlexTest
,
methname
)
delattr
(
ShlexTest
,
methname
)
def
test_main
():
test_support
.
run_unittest
(
ShlexTest
)
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
unittest
.
main
()
test_
main
()
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