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
310c9fec
Kaydet (Commit)
310c9fec
authored
Kas 11, 2009
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #7295: Do not use a hardcoded file name in test_tarfile.
üst
fdd53545
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
test_tarfile.py
Lib/test/test_tarfile.py
+3
-7
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_tarfile.py
Dosyayı görüntüle @
310c9fec
...
...
@@ -27,11 +27,8 @@ except ImportError:
def
md5sum
(
data
):
return
md5
(
data
)
.
hexdigest
()
def
path
(
path
):
return
test_support
.
findfile
(
path
)
TEMPDIR
=
os
.
path
.
join
(
tempfile
.
gettempdir
(),
"test_tarfile_tmp"
)
tarname
=
path
(
"testtar.tar"
)
TEMPDIR
=
os
.
path
.
abspath
(
test_support
.
TESTFN
)
tarname
=
test_support
.
findfile
(
"testtar.tar"
)
gzipname
=
os
.
path
.
join
(
TEMPDIR
,
"testtar.tar.gz"
)
bz2name
=
os
.
path
.
join
(
TEMPDIR
,
"testtar.tar.bz2"
)
tmpname
=
os
.
path
.
join
(
TEMPDIR
,
"tmp.tar"
)
...
...
@@ -1263,8 +1260,7 @@ class Bz2PartialReadTest(unittest.TestCase):
def
test_main
():
if
not
os
.
path
.
exists
(
TEMPDIR
):
os
.
mkdir
(
TEMPDIR
)
os
.
makedirs
(
TEMPDIR
)
tests
=
[
UstarReadTest
,
...
...
Misc/NEWS
Dosyayı görüntüle @
310c9fec
...
...
@@ -1559,6 +1559,8 @@ Extension Modules
Tests
-----
- Issue #7295: Do not use a hardcoded file name in test_tarfile.
- Issue #7270: Add some dedicated unit tests for multi-thread synchronization
primitives such as Lock, RLock, Condition, Event and Semaphore.
...
...
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