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
2d2af91d
Kaydet (Commit)
2d2af91d
authored
Ara 05, 2015
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Closes #25795: Merge with 3.5
üst
da0f2a1f
ac28b796
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
7 deletions
+13
-7
test_fork1.py
Lib/test/test_fork1.py
+1
-0
test_list.py
Lib/test/test_list.py
+1
-0
test_pyclbr.py
Lib/test/test_pyclbr.py
+2
-2
test_telnetlib.py
Lib/test/test_telnetlib.py
+5
-5
test_tuple.py
Lib/test/test_tuple.py
+1
-0
test_userdict.py
Lib/test/test_userdict.py
+1
-0
test_userlist.py
Lib/test/test_userlist.py
+1
-0
test_wait4.py
Lib/test/test_wait4.py
+1
-0
No files found.
Lib/test/test_fork1.py
Dosyayı görüntüle @
2d2af91d
...
...
@@ -6,6 +6,7 @@ import os
import
signal
import
sys
import
time
import
unittest
from
test.fork_wait
import
ForkWait
from
test.support
import
(
reap_children
,
get_attribute
,
...
...
Lib/test/test_list.py
Dosyayı görüntüle @
2d2af91d
import
sys
from
test
import
support
,
list_tests
import
pickle
import
unittest
class
ListTest
(
list_tests
.
CommonTest
):
type2test
=
list
...
...
Lib/test/test_pyclbr.py
Dosyayı görüntüle @
2d2af91d
...
...
@@ -5,7 +5,7 @@
import
sys
from
types
import
FunctionType
,
MethodType
,
BuiltinFunctionType
import
pyclbr
from
unittest
import
TestCase
from
unittest
import
TestCase
,
main
as
unittest_main
StaticMethodType
=
type
(
staticmethod
(
lambda
:
None
))
ClassMethodType
=
type
(
classmethod
(
lambda
c
:
None
))
...
...
@@ -173,4 +173,4 @@ class PyclbrTest(TestCase):
if
__name__
==
"__main__"
:
unittest
.
main
()
unittest
_
main
()
Lib/test/test_telnetlib.py
Dosyayı görüntüle @
2d2af91d
...
...
@@ -4,8 +4,8 @@ import telnetlib
import
time
import
contextlib
from
unittest
import
TestCase
from
test
import
support
import
unittest
threading
=
support
.
import_module
(
'threading'
)
HOST
=
support
.
HOST
...
...
@@ -21,7 +21,7 @@ def server(evt, serv):
finally
:
serv
.
close
()
class
GeneralTests
(
TestCase
):
class
GeneralTests
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
evt
=
threading
.
Event
()
...
...
@@ -170,7 +170,7 @@ def test_telnet(reads=(), cls=TelnetAlike):
telnet
.
_messages
=
''
# debuglevel output
return
telnet
class
ExpectAndReadTestCase
(
TestCase
):
class
ExpectAndReadTestCase
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
old_selector
=
telnetlib
.
_TelnetSelector
telnetlib
.
_TelnetSelector
=
MockSelector
...
...
@@ -289,7 +289,7 @@ class nego_collector(object):
tl
=
telnetlib
class
WriteTests
(
TestCase
):
class
WriteTests
(
unittest
.
TestCase
):
'''The only thing that write does is replace each tl.IAC for
tl.IAC+tl.IAC'''
...
...
@@ -305,7 +305,7 @@ class WriteTests(TestCase):
written
=
b
''
.
join
(
telnet
.
sock
.
writes
)
self
.
assertEqual
(
data
.
replace
(
tl
.
IAC
,
tl
.
IAC
+
tl
.
IAC
),
written
)
class
OptionTests
(
TestCase
):
class
OptionTests
(
unittest
.
TestCase
):
# RFC 854 commands
cmds
=
[
tl
.
AO
,
tl
.
AYT
,
tl
.
BRK
,
tl
.
EC
,
tl
.
EL
,
tl
.
GA
,
tl
.
IP
,
tl
.
NOP
]
...
...
Lib/test/test_tuple.py
Dosyayı görüntüle @
2d2af91d
from
test
import
support
,
seq_tests
import
unittest
import
gc
import
pickle
...
...
Lib/test/test_userdict.py
Dosyayı görüntüle @
2d2af91d
# Check every path through every method of UserDict
from
test
import
support
,
mapping_tests
import
unittest
import
collections
d0
=
{}
...
...
Lib/test/test_userlist.py
Dosyayı görüntüle @
2d2af91d
...
...
@@ -2,6 +2,7 @@
from
collections
import
UserList
from
test
import
support
,
list_tests
import
unittest
class
UserListTest
(
list_tests
.
CommonTest
):
type2test
=
UserList
...
...
Lib/test/test_wait4.py
Dosyayı görüntüle @
2d2af91d
...
...
@@ -4,6 +4,7 @@
import
os
import
time
import
sys
import
unittest
from
test.fork_wait
import
ForkWait
from
test.support
import
reap_children
,
get_attribute
...
...
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