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
c420343c
Kaydet (Commit)
c420343c
authored
Mar 29, 2014
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.
üst
9aa00d1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
test_macholib.py
Lib/ctypes/test/test_macholib.py
+5
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ctypes/test/test_macholib.py
Dosyayı görüntüle @
c420343c
...
@@ -50,8 +50,11 @@ class MachOTest(unittest.TestCase):
...
@@ -50,8 +50,11 @@ class MachOTest(unittest.TestCase):
'/usr/lib/libSystem.B.dylib'
)
'/usr/lib/libSystem.B.dylib'
)
result
=
find_lib
(
'z'
)
result
=
find_lib
(
'z'
)
self
.
assertTrue
(
result
.
startswith
(
'/usr/lib/libz.1'
))
# Issue #21093: dyld default search path includes $HOME/lib and
self
.
assertTrue
(
result
.
endswith
(
'.dylib'
))
# /usr/local/lib before /usr/lib, which caused test failures if
# a local copy of libz exists in one of them. Now ignore the head
# of the path.
self
.
assertRegex
(
result
,
r".*/lib/libz\..*.*\.dylib"
)
self
.
assertEqual
(
find_lib
(
'IOKit'
),
self
.
assertEqual
(
find_lib
(
'IOKit'
),
'/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit'
)
'/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit'
)
...
...
Misc/NEWS
Dosyayı görüntüle @
c420343c
...
@@ -129,6 +129,9 @@ Tests
...
@@ -129,6 +129,9 @@ Tests
- Issue #20668: asyncio tests no longer rely on tests.txt file.
- Issue #20668: asyncio tests no longer rely on tests.txt file.
(Patch by Vajrasky Kok)
(Patch by Vajrasky Kok)
- Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.
Tools/Demos
Tools/Demos
-----------
-----------
...
...
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