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
cce440fa
Kaydet (Commit)
cce440fa
authored
Ock 10, 2014
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.
üst
4847e4e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
test_uuid.py
Lib/test/test_uuid.py
+6
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_uuid.py
Dosyayı görüntüle @
cce440fa
...
@@ -3,6 +3,7 @@ from test import support
...
@@ -3,6 +3,7 @@ from test import support
import
builtins
import
builtins
import
io
import
io
import
os
import
os
import
shutil
import
uuid
import
uuid
def
importable
(
name
):
def
importable
(
name
):
...
@@ -369,6 +370,11 @@ eth0 Link encap:Ethernet HWaddr 12:34:56:78:90:ab
...
@@ -369,6 +370,11 @@ eth0 Link encap:Ethernet HWaddr 12:34:56:78:90:ab
def
mock_popen
(
cmd
):
def
mock_popen
(
cmd
):
return
io
.
StringIO
(
data
)
return
io
.
StringIO
(
data
)
if
shutil
.
which
(
'ifconfig'
)
is
None
:
path
=
os
.
pathsep
.
join
((
'/sbin'
,
'/usr/sbin'
))
if
shutil
.
which
(
'ifconfig'
,
path
=
path
)
is
None
:
self
.
skipTest
(
'requires ifconfig'
)
with
support
.
swap_attr
(
os
,
'popen'
,
mock_popen
):
with
support
.
swap_attr
(
os
,
'popen'
,
mock_popen
):
mac
=
uuid
.
_find_mac
(
mac
=
uuid
.
_find_mac
(
command
=
'ifconfig'
,
command
=
'ifconfig'
,
...
...
Misc/NEWS
Dosyayı görüntüle @
cce440fa
...
@@ -234,6 +234,9 @@ IDLE
...
@@ -234,6 +234,9 @@ IDLE
Tests
Tests
-----
-----
- Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.
- Issue #19886: Use better estimated memory requirements for bigmem tests.
- Issue #19886: Use better estimated memory requirements for bigmem tests.
- Issue #20055: Fix test_shutil under Windows with symlink privileges held.
- Issue #20055: Fix test_shutil under Windows with symlink privileges held.
...
...
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