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
f01d695c
Kaydet (Commit)
f01d695c
authored
Eki 05, 2012
tarafından
Jesus Cea
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #16135: Removal of OS/2 support
üst
fa7d5392
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
9 additions
and
25 deletions
+9
-25
regrtest.py
Lib/test/regrtest.py
+0
-14
test_bz2.py
Lib/test/test_bz2.py
+1
-1
test_mailbox.py
Lib/test/test_mailbox.py
+1
-1
test_select.py
Lib/test/test_select.py
+1
-2
test_signal.py
Lib/test/test_signal.py
+1
-1
test_site.py
Lib/test/test_site.py
+1
-1
test_sundry.py
Lib/test/test_sundry.py
+0
-1
test_sys.py
Lib/test/test_sys.py
+1
-1
test_sysconfig.py
Lib/test/test_sysconfig.py
+1
-1
test_thread.py
Lib/test/test_thread.py
+1
-1
test_threadsignals.py
Lib/test/test_threadsignals.py
+1
-1
importlib.h
Python/importlib.h
+0
-0
No files found.
Lib/test/regrtest.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -1621,20 +1621,6 @@ _expectations = (
test_ossaudiodev
test_socketserver
"""
),
(
'os2emx'
,
"""
test_audioop
test_curses
test_epoll
test_kqueue
test_largefile
test_mmap
test_openpty
test_ossaudiodev
test_pty
test_resource
test_signal
"""
),
(
'freebsd'
,
"""
test_devpoll
...
...
Lib/test/test_bz2.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -18,7 +18,7 @@ except ImportError:
bz2
=
support
.
import_module
(
'bz2'
)
from
bz2
import
BZ2File
,
BZ2Compressor
,
BZ2Decompressor
has_cmdline_bunzip2
=
sys
.
platform
not
in
(
"win32"
,
"os2emx
"
)
has_cmdline_bunzip2
=
(
sys
.
platform
!=
"win32
"
)
class
BaseTest
(
unittest
.
TestCase
):
"Base for other testcases."
...
...
Lib/test/test_mailbox.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -596,7 +596,7 @@ class TestMaildir(TestMailbox, unittest.TestCase):
def
setUp
(
self
):
TestMailbox
.
setUp
(
self
)
if
os
.
name
in
(
'nt'
,
'os2'
)
or
sys
.
platform
==
'cygwin'
:
if
(
os
.
name
==
'nt'
)
or
(
sys
.
platform
==
'cygwin'
)
:
self
.
_box
.
colon
=
'!'
def
assertMailboxEmpty
(
self
):
...
...
Lib/test/test_select.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -5,8 +5,7 @@ import sys
import
unittest
from
test
import
support
@unittest.skipIf
(
sys
.
platform
[:
3
]
in
(
'win'
,
'os2'
)
or
\
sys
.
platform
==
'riscos'
),
@unittest.skipIf
((
sys
.
platform
[:
3
]
==
'win'
)
or
(
sys
.
platform
==
'riscos'
),
"can't easily test on this system"
)
class
SelectTestCase
(
unittest
.
TestCase
):
...
...
Lib/test/test_signal.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -15,7 +15,7 @@ try:
except
ImportError
:
threading
=
None
if
sys
.
platform
in
(
'os2'
,
'riscos'
)
:
if
sys
.
platform
==
'riscos'
:
raise
unittest
.
SkipTest
(
"Can't test signal on
%
s"
%
sys
.
platform
)
...
...
Lib/test/test_site.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -222,7 +222,7 @@ class HelperFunctionsTests(unittest.TestCase):
site
.
PREFIXES
=
[
'xoxo'
]
dirs
=
site
.
getsitepackages
()
if
sys
.
platform
in
(
'os2emx'
,
'riscos'
)
:
if
sys
.
platform
==
'riscos'
:
self
.
assertEqual
(
len
(
dirs
),
1
)
wanted
=
os
.
path
.
join
(
'xoxo'
,
'Lib'
,
'site-packages'
)
self
.
assertEqual
(
dirs
[
0
],
wanted
)
...
...
Lib/test/test_sundry.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -48,7 +48,6 @@ class TestUntestedModules(unittest.TestCase):
import
macurl2path
import
mailcap
import
nturl2path
import
os2emxpath
import
pstats
import
py_compile
import
sndhdr
...
...
Lib/test/test_sys.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -482,7 +482,7 @@ class SysModuleTest(unittest.TestCase):
def
test_thread_info
(
self
):
info
=
sys
.
thread_info
self
.
assertEqual
(
len
(
info
),
3
)
self
.
assertIn
(
info
.
name
,
(
'nt'
,
'
os2'
,
'
pthread'
,
'solaris'
,
None
))
self
.
assertIn
(
info
.
name
,
(
'nt'
,
'pthread'
,
'solaris'
,
None
))
self
.
assertIn
(
info
.
lock
,
(
'semaphore'
,
'mutex+cond'
,
None
))
def
test_43581
(
self
):
...
...
Lib/test/test_sysconfig.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -234,7 +234,7 @@ class TestSysConfig(unittest.TestCase):
self
.
assertTrue
(
os
.
path
.
isfile
(
config_h
),
config_h
)
def
test_get_scheme_names
(
self
):
wanted
=
(
'nt'
,
'nt_user'
,
'os
2'
,
'os2_home'
,
'os
x_framework_user'
,
wanted
=
(
'nt'
,
'nt_user'
,
'osx_framework_user'
,
'posix_home'
,
'posix_prefix'
,
'posix_user'
)
self
.
assertEqual
(
get_scheme_names
(),
wanted
)
...
...
Lib/test/test_thread.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -68,7 +68,7 @@ class ThreadRunningTests(BasicThreadTest):
thread
.
stack_size
(
0
)
self
.
assertEqual
(
thread
.
stack_size
(),
0
,
"stack_size not reset to default"
)
if
os
.
name
not
in
(
"nt"
,
"
os2"
,
"
posix"
):
if
os
.
name
not
in
(
"nt"
,
"posix"
):
return
tss_supported
=
True
...
...
Lib/test/test_threadsignals.py
Dosyayı görüntüle @
f01d695c
...
...
@@ -8,7 +8,7 @@ from test.support import run_unittest, import_module
thread
=
import_module
(
'_thread'
)
import
time
if
sys
.
platform
[:
3
]
in
(
'win'
,
'os2'
)
or
sys
.
platform
==
'riscos'
:
if
(
sys
.
platform
[:
3
]
==
'win'
)
or
(
sys
.
platform
==
'riscos'
)
:
raise
unittest
.
SkipTest
(
"Can't test signal on
%
s"
%
sys
.
platform
)
process_pid
=
os
.
getpid
()
...
...
Python/importlib.h
Dosyayı görüntüle @
f01d695c
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