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
70ea7fa6
Kaydet (Commit)
70ea7fa6
authored
Şub 08, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Fix accidental non-breakable spaces (U+00A0).
üst
5546b002
1273dfc3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
test_lzma.py
Lib/test/test_lzma.py
+1
-1
test_pyexpat.py
Lib/test/test_pyexpat.py
+1
-1
NEWS
Misc/NEWS
+1
-1
No files found.
Lib/test/test_lzma.py
Dosyayı görüntüle @
70ea7fa6
...
@@ -671,7 +671,7 @@ class FileTestCase(unittest.TestCase):
...
@@ -671,7 +671,7 @@ class FileTestCase(unittest.TestCase):
def
test_read_truncated
(
self
):
def
test_read_truncated
(
self
):
# Drop stream footer: CRC (4 bytes), index size (4 bytes),
# Drop stream footer: CRC (4 bytes), index size (4 bytes),
# flags
(2 bytes) and magic number (2 bytes).
# flags
(2 bytes) and magic number (2 bytes).
truncated
=
COMPRESSED_XZ
[:
-
12
]
truncated
=
COMPRESSED_XZ
[:
-
12
]
with
LZMAFile
(
BytesIO
(
truncated
))
as
f
:
with
LZMAFile
(
BytesIO
(
truncated
))
as
f
:
self
.
assertRaises
(
EOFError
,
f
.
read
)
self
.
assertRaises
(
EOFError
,
f
.
read
)
...
...
Lib/test/test_pyexpat.py
Dosyayı görüntüle @
70ea7fa6
...
@@ -600,7 +600,7 @@ class MalformedInputTest(unittest.TestCase):
...
@@ -600,7 +600,7 @@ class MalformedInputTest(unittest.TestCase):
self
.
assertEqual
(
str
(
e
),
'unclosed token: line 2, column 0'
)
self
.
assertEqual
(
str
(
e
),
'unclosed token: line 2, column 0'
)
def
test2
(
self
):
def
test2
(
self
):
#
\xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
#
\xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
xml
=
b
"<?xml version
\xc2\x85
='1.0'?>
\r\n
"
xml
=
b
"<?xml version
\xc2\x85
='1.0'?>
\r\n
"
parser
=
expat
.
ParserCreate
()
parser
=
expat
.
ParserCreate
()
try
:
try
:
...
...
Misc/NEWS
Dosyayı görüntüle @
70ea7fa6
...
@@ -171,7 +171,7 @@ Library
...
@@ -171,7 +171,7 @@ Library
- Issue #17073: Fix some integer overflows in sqlite3 module.
- Issue #17073: Fix some integer overflows in sqlite3 module.
- Issue #17114: IDLE
now uses non-strict config parser.
- Issue #17114: IDLE
now uses non-strict config parser.
- Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
- Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
is automatically closed.
is automatically closed.
...
...
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