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
ae9dc8c4
Kaydet (Commit)
ae9dc8c4
authored
Şub 16, 2009
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#2279: use os.sep so the MANIFEST file test work on win32
üst
7dd53396
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
test_sdist.py
Lib/distutils/tests/test_sdist.py
+6
-6
No files found.
Lib/distutils/tests/test_sdist.py
Dosyayı görüntüle @
ae9dc8c4
...
@@ -24,11 +24,11 @@ setup(name='fake')
...
@@ -24,11 +24,11 @@ setup(name='fake')
MANIFEST
=
"""
\
MANIFEST
=
"""
\
README
README
setup.py
setup.py
data
/
data.dt
data
%(sep)
s
data.dt
scripts
/
script.py
scripts
%(sep)
s
script.py
somecode
/
__init__.py
somecode
%(sep)
s
__init__.py
somecode
/
doc.dat
somecode
%(sep)
s
doc.dat
somecode
/
doc.txt
somecode
%(sep)
s
doc.txt
"""
"""
class
sdistTestCase
(
support
.
LoggingSilencer
,
PyPIRCCommandTestCase
):
class
sdistTestCase
(
support
.
LoggingSilencer
,
PyPIRCCommandTestCase
):
...
@@ -198,7 +198,7 @@ class sdistTestCase(support.LoggingSilencer, PyPIRCCommandTestCase):
...
@@ -198,7 +198,7 @@ class sdistTestCase(support.LoggingSilencer, PyPIRCCommandTestCase):
# checking the MANIFEST
# checking the MANIFEST
manifest
=
open
(
join
(
self
.
tmp_dir
,
'MANIFEST'
))
.
read
()
manifest
=
open
(
join
(
self
.
tmp_dir
,
'MANIFEST'
))
.
read
()
self
.
assertEquals
(
manifest
,
MANIFEST
)
self
.
assertEquals
(
manifest
,
MANIFEST
%
{
'sep'
:
os
.
sep
}
)
def
test_suite
():
def
test_suite
():
return
unittest
.
makeSuite
(
sdistTestCase
)
return
unittest
.
makeSuite
(
sdistTestCase
)
...
...
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