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
076dbd05
Kaydet (Commit)
076dbd05
authored
May 06, 2015
tarafından
Berker Peksag
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix remaining tests and remove an unused import.
üst
c4c59050
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
_test_multiprocessing.py
Lib/test/_test_multiprocessing.py
+3
-3
script_helper.py
Lib/test/support/script_helper.py
+1
-1
test_compile.py
Lib/test/test_compile.py
+2
-1
test_i18n.py
Lib/test/test_tools/test_i18n.py
+1
-1
No files found.
Lib/test/_test_multiprocessing.py
Dosyayı görüntüle @
076dbd05
...
@@ -19,7 +19,7 @@ import logging
...
@@ -19,7 +19,7 @@ import logging
import
struct
import
struct
import
operator
import
operator
import
test.support
import
test.support
import
test.script_helper
import
test.s
upport.s
cript_helper
# Skip tests if _multiprocessing wasn't built.
# Skip tests if _multiprocessing wasn't built.
...
@@ -3483,11 +3483,11 @@ class TestNoForkBomb(unittest.TestCase):
...
@@ -3483,11 +3483,11 @@ class TestNoForkBomb(unittest.TestCase):
sm
=
multiprocessing
.
get_start_method
()
sm
=
multiprocessing
.
get_start_method
()
name
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'mp_fork_bomb.py'
)
name
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'mp_fork_bomb.py'
)
if
sm
!=
'fork'
:
if
sm
!=
'fork'
:
rc
,
out
,
err
=
test
.
script_helper
.
assert_python_failure
(
name
,
sm
)
rc
,
out
,
err
=
test
.
s
upport
.
s
cript_helper
.
assert_python_failure
(
name
,
sm
)
self
.
assertEqual
(
out
,
b
''
)
self
.
assertEqual
(
out
,
b
''
)
self
.
assertIn
(
b
'RuntimeError'
,
err
)
self
.
assertIn
(
b
'RuntimeError'
,
err
)
else
:
else
:
rc
,
out
,
err
=
test
.
script_helper
.
assert_python_ok
(
name
,
sm
)
rc
,
out
,
err
=
test
.
s
upport
.
s
cript_helper
.
assert_python_ok
(
name
,
sm
)
self
.
assertEqual
(
out
.
rstrip
(),
b
'123'
)
self
.
assertEqual
(
out
.
rstrip
(),
b
'123'
)
self
.
assertEqual
(
err
,
b
''
)
self
.
assertEqual
(
err
,
b
''
)
...
...
Lib/test/support/script_helper.py
Dosyayı görüntüle @
076dbd05
...
@@ -14,7 +14,7 @@ import shutil
...
@@ -14,7 +14,7 @@ import shutil
import
zipfile
import
zipfile
from
importlib.util
import
source_from_cache
from
importlib.util
import
source_from_cache
from
test.support
import
make_legacy_pyc
,
strip_python_stderr
,
temp_dir
from
test.support
import
make_legacy_pyc
,
strip_python_stderr
# Cached result of the expensive test performed in the function below.
# Cached result of the expensive test performed in the function below.
...
...
Lib/test/test_compile.py
Dosyayı görüntüle @
076dbd05
...
@@ -5,7 +5,8 @@ import sys
...
@@ -5,7 +5,8 @@ import sys
import
_ast
import
_ast
import
tempfile
import
tempfile
import
types
import
types
from
test
import
support
,
script_helper
from
test
import
support
from
test.support
import
script_helper
class
TestSpecifics
(
unittest
.
TestCase
):
class
TestSpecifics
(
unittest
.
TestCase
):
...
...
Lib/test/test_tools/test_i18n.py
Dosyayı görüntüle @
076dbd05
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
os
import
os
import
unittest
import
unittest
from
test.script_helper
import
assert_python_ok
from
test.s
upport.s
cript_helper
import
assert_python_ok
from
test.test_tools
import
toolsdir
from
test.test_tools
import
toolsdir
from
test.support
import
temp_cwd
from
test.support
import
temp_cwd
...
...
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