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
bc7c96b9
Kaydet (Commit)
bc7c96b9
authored
Haz 13, 2014
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #20043: Add direct test for _thread.
üst
ee0e5104
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
test_multiprocessing_main_handling.py
Lib/test/test_multiprocessing_main_handling.py
+4
-3
No files found.
Lib/test/test_multiprocessing_main_handling.py
Dosyayı görüntüle @
bc7c96b9
# tests __main__ module handling in multiprocessing
# tests __main__ module handling in multiprocessing
from
test
import
support
# Skip tests if _thread or _multiprocessing wasn't built.
support
.
import_module
(
'_thread'
)
support
.
import_module
(
'_multiprocessing'
)
import
importlib
import
importlib
import
importlib.machinery
import
importlib.machinery
...
@@ -9,14 +13,11 @@ import os
...
@@ -9,14 +13,11 @@ import os
import
os.path
import
os.path
import
py_compile
import
py_compile
from
test
import
support
from
test.script_helper
import
(
from
test.script_helper
import
(
make_pkg
,
make_script
,
make_zip_pkg
,
make_zip_script
,
make_pkg
,
make_script
,
make_zip_pkg
,
make_zip_script
,
assert_python_ok
,
assert_python_failure
,
temp_dir
,
assert_python_ok
,
assert_python_failure
,
temp_dir
,
spawn_python
,
kill_python
)
spawn_python
,
kill_python
)
# Skip tests if _multiprocessing wasn't built.
_multiprocessing
=
support
.
import_module
(
'_multiprocessing'
)
# Look up which start methods are available to test
# Look up which start methods are available to test
import
multiprocessing
import
multiprocessing
AVAILABLE_START_METHODS
=
set
(
multiprocessing
.
get_all_start_methods
())
AVAILABLE_START_METHODS
=
set
(
multiprocessing
.
get_all_start_methods
())
...
...
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