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
4140fb52
Kaydet (Commit)
4140fb52
authored
Nis 21, 2013
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#17065: Use process-unique key for winreg test.
Patch by Jeremy Kloth.
üst
637c7c47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
test_winreg.py
Lib/test/test_winreg.py
+5
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_winreg.py
Dosyayı görüntüle @
4140fb52
...
...
@@ -28,9 +28,12 @@ WIN64_MACHINE = True if machine() == "AMD64" else False
# tests are only valid up until 6.1
HAS_REFLECTION
=
True
if
WIN_VER
<
(
6
,
1
)
else
False
test_key_name
=
"SOFTWARE
\\
Python Registry Test Key - Delete Me"
# Use a per-process key to prevent concurrent test runs (buildbot!) from
# stomping on each other.
test_key_base
=
"Python Test Key [
%
d] - Delete Me"
%
(
os
.
getpid
(),)
test_key_name
=
"SOFTWARE
\\
"
+
test_key_base
# On OS'es that support reflection we should test with a reflected key
test_reflect_key_name
=
"SOFTWARE
\\
Classes
\\
Python Test Key - Delete Me"
test_reflect_key_name
=
"SOFTWARE
\\
Classes
\\
"
+
test_key_base
test_data
=
[
(
"Int Value"
,
45
,
REG_DWORD
),
...
...
Misc/NEWS
Dosyayı görüntüle @
4140fb52
...
...
@@ -124,6 +124,9 @@ IDLE
Tests
-----
-
Issue
#
17065
:
Use
process
-
unique
key
for
winreg
tests
to
avoid
failures
if
test
is
run
multiple
times
in
parallel
(
eg
:
on
a
buildbot
host
).
-
Issue
#
12820
:
add
tests
for
the
xml
.
dom
.
minicompat
module
.
Patch
by
John
Chandler
and
Phil
Connell
.
...
...
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