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
812d7715
Kaydet (Commit)
812d7715
authored
May 09, 2009
tarafından
Tarek Ziadé
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#5976: fixed distutils test_check_environ
üst
e2be83de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
test_util.py
Lib/distutils/tests/test_util.py
+11
-6
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/distutils/tests/test_util.py
Dosyayı görüntüle @
812d7715
...
...
@@ -214,12 +214,17 @@ class utilTestCase(unittest.TestCase):
# posix without HOME
if
os
.
name
==
'posix'
:
# this test won't run on windows
os
.
environ
=
{}
check_environ
()
import
pwd
self
.
assertEquals
(
os
.
environ
[
'HOME'
],
pwd
.
getpwuid
(
os
.
getuid
())[
5
])
old_home
=
os
.
environ
.
get
(
'HOME'
)
try
:
check_environ
()
import
pwd
self
.
assertEquals
(
os
.
environ
[
'HOME'
],
pwd
.
getpwuid
(
os
.
getuid
())[
5
])
finally
:
if
old_home
is
not
None
:
os
.
environ
[
'HOME'
]
=
old_home
else
:
del
os
.
environ
[
'HOME'
]
else
:
check_environ
()
...
...
Misc/NEWS
Dosyayı görüntüle @
812d7715
...
...
@@ -285,6 +285,8 @@ Core and Builtins
Library
-------
- Issue #5976: Fixed Distutils test_check_environ.
- Issue #5900: Ensure RUNPATH is added to extension modules with RPATH if GNU
ld is used. Original patch by Floris Bruynooghe.
...
...
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