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
2da75659
Kaydet (Commit)
2da75659
authored
May 30, 2011
tarafından
Tarek Ziade
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
removed spurious output
üst
b1b6e138
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test_uninstall.py
Lib/packaging/tests/test_uninstall.py
+6
-0
No files found.
Lib/packaging/tests/test_uninstall.py
Dosyayı görüntüle @
2da75659
"""Tests for the uninstall command."""
"""Tests for the uninstall command."""
import
os
import
os
import
sys
import
sys
from
io
import
StringIO
from
packaging.database
import
disable_cache
,
enable_cache
from
packaging.database
import
disable_cache
,
enable_cache
from
packaging.run
import
main
from
packaging.run
import
main
...
@@ -79,7 +80,12 @@ class UninstallTestCase(support.TempdirManager,
...
@@ -79,7 +80,12 @@ class UninstallTestCase(support.TempdirManager,
if
not
dirname
:
if
not
dirname
:
dirname
=
self
.
make_dist
(
name
,
**
kw
)
dirname
=
self
.
make_dist
(
name
,
**
kw
)
os
.
chdir
(
dirname
)
os
.
chdir
(
dirname
)
old_out
=
sys
.
stdout
sys
.
stderr
=
StringIO
()
try
:
dist
=
self
.
run_setup
(
'install_dist'
,
'--prefix='
+
self
.
root_dir
)
dist
=
self
.
run_setup
(
'install_dist'
,
'--prefix='
+
self
.
root_dir
)
finally
:
sys
.
sterr
=
old_out
install_lib
=
self
.
get_path
(
dist
,
'purelib'
)
install_lib
=
self
.
get_path
(
dist
,
'purelib'
)
return
dist
,
install_lib
return
dist
,
install_lib
...
...
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