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
56b2cf5e
Kaydet (Commit)
56b2cf5e
authored
8 years ago
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #28484: Skip tests if GIL is not used or multithreading is disabled
üst
10f29c90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
test_capi.py
Lib/test/test_capi.py
+1
-0
test_regrtest.py
Lib/test/test_regrtest.py
+6
-1
No files found.
Lib/test/test_capi.py
Dosyayı görüntüle @
56b2cf5e
...
...
@@ -630,6 +630,7 @@ class PyMemDebugTests(unittest.TestCase):
regex
=
regex
.
format
(
ptr
=
self
.
PTR_REGEX
)
self
.
assertRegex
(
out
,
regex
)
@unittest.skipUnless
(
threading
,
'Test requires a GIL (multithreading)'
)
def
check_malloc_without_gil
(
self
,
code
):
out
=
self
.
check
(
code
)
expected
=
(
'Fatal Python error: Python memory allocator called '
...
...
This diff is collapsed.
Click to expand it.
Lib/test/test_regrtest.py
Dosyayı görüntüle @
56b2cf5e
...
...
@@ -696,7 +696,12 @@ class ArgsTestCase(BaseTestCase):
code
=
TEST_INTERRUPTED
test
=
self
.
create_test
(
"sigint"
,
code
=
code
)
for
multiprocessing
in
(
False
,
True
):
try
:
import
threading
tests
=
(
False
,
True
)
except
ImportError
:
tests
=
(
False
,)
for
multiprocessing
in
tests
:
if
multiprocessing
:
args
=
(
"--slowest"
,
"-j2"
,
test
)
else
:
...
...
This diff is collapsed.
Click to expand it.
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