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
93b98ca4
Kaydet (Commit)
93b98ca4
authored
Şub 14, 2012
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #13930: fix a / to use os.sep so that the test works on Windows.
üst
cbe01342
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
test_main.py
Lib/lib2to3/tests/test_main.py
+4
-2
No files found.
Lib/lib2to3/tests/test_main.py
Dosyayı görüntüle @
93b98ca4
...
...
@@ -94,8 +94,10 @@ class TestMain(unittest.TestCase):
self
.
assertIn
(
"Writing converted
%
s to
%
s"
%
(
os
.
path
.
join
(
self
.
py2_src_dir
,
name
),
os
.
path
.
join
(
self
.
py3_dest_dir
,
name
+
suffix
)),
stderr
)
self
.
assertRegexpMatches
(
stderr
,
r"No changes to .*/__init__\.py"
)
self
.
assertNotRegex
(
stderr
,
r"No changes to .*/trivial\.py"
)
self
.
assertRegex
(
stderr
,
r"No changes to .*/__init__\.py"
.
replace
(
"/"
,
os
.
sep
))
self
.
assertNotRegex
(
stderr
,
r"No changes to .*/trivial\.py"
.
replace
(
"/"
,
os
.
sep
))
def
test_filename_changing_on_output_two_files
(
self
):
"""2to3 two files in one directory with a new output dir."""
...
...
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