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
fd2839e1
Kaydet (Commit)
fd2839e1
authored
Nis 24, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge 3.5
üst
e4fbb020
5b6f0aa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
test_pyexpat.py
Lib/test/test_pyexpat.py
+0
-6
clinic_test.py
Tools/clinic/clinic_test.py
+0
-10
No files found.
Lib/test/test_pyexpat.py
Dosyayı görüntüle @
fd2839e1
...
...
@@ -42,12 +42,6 @@ class SetAttributeTest(unittest.TestCase):
self
.
parser
.
specified_attributes
=
x
self
.
assertIs
(
self
.
parser
.
specified_attributes
,
bool
(
x
))
def
test_specified_attributes
(
self
):
self
.
assertIs
(
self
.
parser
.
specified_attributes
,
False
)
for
x
in
0
,
1
,
2
,
0
:
self
.
parser
.
specified_attributes
=
x
self
.
assertIs
(
self
.
parser
.
specified_attributes
,
bool
(
x
))
def
test_invalid_attributes
(
self
):
with
self
.
assertRaises
(
AttributeError
):
self
.
parser
.
returns_unicode
=
1
...
...
Tools/clinic/clinic_test.py
Dosyayı görüntüle @
fd2839e1
...
...
@@ -3,7 +3,6 @@
# Licensed to the PSF under a contributor agreement.
#
import
builtins
import
clinic
from
clinic
import
DSLParser
import
collections
...
...
@@ -747,15 +746,6 @@ Not at column 0!
Nested docstring here, goeth.
"""
.
strip
(),
function
.
docstring
)
def
test_parser_regression_special_character_in_parameter_column_of_docstring_first_line
(
self
):
function
=
self
.
parse_function
(
"""
module os
os.stat
path: str
This/used to break Clinic!
"""
)
self
.
assertEqual
(
"stat($module, /, path)
\n
--
\n\n
This/used to break Clinic!"
,
function
.
docstring
)
def
test_directive
(
self
):
c
=
FakeClinic
()
parser
=
DSLParser
(
c
)
...
...
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