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
046467cf
Kaydet (Commit)
046467cf
authored
Eki 30, 2009
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Followup to r75965: replace the test_uuid-specific patch with a generic fix
(other tests may have the same problem).
üst
1e8e5f06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
regrtest.py
Lib/test/regrtest.py
+6
-0
test_uuid.py
Lib/test/test_uuid.py
+0
-3
No files found.
Lib/test/regrtest.py
Dosyayı görüntüle @
046467cf
...
...
@@ -996,6 +996,12 @@ def dash_R_cleanup(fs, ps, pic, abcs):
obj
.
_abc_cache
.
clear
()
obj
.
_abc_negative_cache
.
clear
()
# Flush standard output, so that buffered data is sent to the OS and
# associated Python objects are reclaimed.
for
stream
in
(
sys
.
stdout
,
sys
.
stderr
,
sys
.
__stdout__
,
sys
.
__stderr__
):
if
stream
is
not
None
:
stream
.
flush
()
# Clear assorted module caches.
_path_created
.
clear
()
re
.
purge
()
...
...
Lib/test/test_uuid.py
Dosyayı görüntüle @
046467cf
...
...
@@ -314,7 +314,6 @@ class TestUUID(TestCase):
import
sys
print
(
""" WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly."""
,
file
=
sys
.
__stdout__
)
sys
.
__stdout__
.
flush
()
return
import
os
...
...
@@ -343,7 +342,6 @@ class TestUUID(TestCase):
import
sys
print
(
""" WARNING: uuid._unixdll_getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly."""
,
file
=
sys
.
__stdout__
)
sys
.
__stdout__
.
flush
()
return
import
os
...
...
@@ -359,7 +357,6 @@ class TestUUID(TestCase):
import
sys
print
(
""" WARNING: uuid.getnode is unreliable on many platforms.
It is disabled until the code and/or test can be fixed properly."""
,
file
=
sys
.
__stdout__
)
sys
.
__stdout__
.
flush
()
return
node1
=
uuid
.
getnode
()
...
...
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