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
5f8b0f5c
Kaydet (Commit)
5f8b0f5c
authored
Kas 22, 2013
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #19664: test_userdict's repr test no longer depends on the order
of dict elements. Original patch by Serhiy Storchaka
üst
ba723200
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
test_userdict.py
Lib/test/test_userdict.py
+2
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_userdict.py
Dosyayı görüntüle @
5f8b0f5c
...
...
@@ -45,7 +45,8 @@ class UserDictTest(mapping_tests.TestHashMappingProtocol):
# Test __repr__
self
.
assertEqual
(
str
(
u0
),
str
(
d0
))
self
.
assertEqual
(
repr
(
u1
),
repr
(
d1
))
self
.
assertEqual
(
repr
(
u2
),
repr
(
d2
))
self
.
assertIn
(
repr
(
u2
),
(
"{'one': 1, 'two': 2}"
,
"{'two': 2, 'one': 1}"
))
# Test rich comparison and __len__
all
=
[
d0
,
d1
,
d2
,
u
,
u0
,
u1
,
u2
,
uu
,
uu0
,
uu1
,
uu2
]
...
...
Misc/NEWS
Dosyayı görüntüle @
5f8b0f5c
...
...
@@ -306,6 +306,9 @@ Library
Tests
-----
- Issue #19664: test_userdict'
s
repr
test
no
longer
depends
on
the
order
of
dict
elements
.
-
Issue
#
19440
:
Clean
up
test_capi
by
removing
an
unnecessary
__future__
import
,
converting
from
test_main
to
unittest
.
main
,
and
running
the
_testcapi
module
tests
as
subTests
of
a
unittest
TestCase
method
.
...
...
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