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
87d6e136
Kaydet (Commit)
87d6e136
authored
Mar 14, 2016
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix test_venv on FreeBSD buildbot
Ignore pip warning in test_venv.test_with_venv().
üst
21d0e1b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
test_venv.py
Lib/test/test_venv.py
+10
-1
No files found.
Lib/test/test_venv.py
Dosyayı görüntüle @
87d6e136
...
@@ -8,6 +8,7 @@ Licensed to the PSF under a contributor agreement.
...
@@ -8,6 +8,7 @@ Licensed to the PSF under a contributor agreement.
import
ensurepip
import
ensurepip
import
os
import
os
import
os.path
import
os.path
import
re
import
struct
import
struct
import
subprocess
import
subprocess
import
sys
import
sys
...
@@ -394,7 +395,15 @@ class EnsurePipTest(BaseTest):
...
@@ -394,7 +395,15 @@ class EnsurePipTest(BaseTest):
# We force everything to text, so unittest gives the detailed diff
# We force everything to text, so unittest gives the detailed diff
# if we get unexpected results
# if we get unexpected results
err
=
err
.
decode
(
"latin-1"
)
# Force to text, prevent decoding errors
err
=
err
.
decode
(
"latin-1"
)
# Force to text, prevent decoding errors
self
.
assertEqual
(
err
,
""
)
# Ignore the warning:
# "The directory '$HOME/.cache/pip/http' or its parent directory
# is not owned by the current user and the cache has been disabled.
# Please check the permissions and owner of that directory. If
# executing pip with sudo, you may want sudo's -H flag."
# where $HOME is replaced by the HOME environment variable.
err
=
re
.
sub
(
"^The directory .* or its parent directory is not owned "
"by the current user .*$"
,
""
,
err
,
flags
=
re
.
MULTILINE
)
self
.
assertEqual
(
err
.
rstrip
(),
""
)
# Being fairly specific regarding the expected behaviour for the
# Being fairly specific regarding the expected behaviour for the
# initial bundling phase in Python 3.4. If the output changes in
# initial bundling phase in Python 3.4. If the output changes in
# future pip versions, this test can likely be relaxed further.
# future pip versions, this test can likely be relaxed further.
...
...
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