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
d9b25bb5
Kaydet (Commit)
d9b25bb5
authored
May 13, 2015
tarafından
Zachary Ware
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #23731: Fix tracemalloc test on Windows.
'a.pyo' can no longer match 'a.py', so 'a.PYO' can't either.
üst
ad3e27ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test_tracemalloc.py
Lib/test/test_tracemalloc.py
+3
-2
No files found.
Lib/test/test_tracemalloc.py
Dosyayı görüntüle @
d9b25bb5
...
@@ -671,7 +671,6 @@ class TestFilters(unittest.TestCase):
...
@@ -671,7 +671,6 @@ class TestFilters(unittest.TestCase):
self
.
assertTrue
(
fnmatch
(
'aBcDe'
,
'Ab*dE'
))
self
.
assertTrue
(
fnmatch
(
'aBcDe'
,
'Ab*dE'
))
self
.
assertTrue
(
fnmatch
(
'a.pyc'
,
'a.PY'
))
self
.
assertTrue
(
fnmatch
(
'a.pyc'
,
'a.PY'
))
self
.
assertTrue
(
fnmatch
(
'a.PYO'
,
'a.py'
))
self
.
assertTrue
(
fnmatch
(
'a.py'
,
'a.PYC'
))
self
.
assertTrue
(
fnmatch
(
'a.py'
,
'a.PYC'
))
else
:
else
:
# case sensitive
# case sensitive
...
@@ -679,7 +678,6 @@ class TestFilters(unittest.TestCase):
...
@@ -679,7 +678,6 @@ class TestFilters(unittest.TestCase):
self
.
assertFalse
(
fnmatch
(
'aBcDe'
,
'Ab*dE'
))
self
.
assertFalse
(
fnmatch
(
'aBcDe'
,
'Ab*dE'
))
self
.
assertFalse
(
fnmatch
(
'a.pyc'
,
'a.PY'
))
self
.
assertFalse
(
fnmatch
(
'a.pyc'
,
'a.PY'
))
self
.
assertFalse
(
fnmatch
(
'a.PYO'
,
'a.py'
))
self
.
assertFalse
(
fnmatch
(
'a.py'
,
'a.PYC'
))
self
.
assertFalse
(
fnmatch
(
'a.py'
,
'a.PYC'
))
if
os
.
name
==
'nt'
:
if
os
.
name
==
'nt'
:
...
@@ -695,6 +693,9 @@ class TestFilters(unittest.TestCase):
...
@@ -695,6 +693,9 @@ class TestFilters(unittest.TestCase):
self
.
assertFalse
(
fnmatch
(
r'a/b\c'
,
r'a\b/c'
))
self
.
assertFalse
(
fnmatch
(
r'a/b\c'
,
r'a\b/c'
))
self
.
assertFalse
(
fnmatch
(
r'a/b/c'
,
r'a\b\c'
))
self
.
assertFalse
(
fnmatch
(
r'a/b/c'
,
r'a\b\c'
))
# as of 3.5, .pyo is no longer munged to .py
self
.
assertFalse
(
fnmatch
(
'a.pyo'
,
'a.py'
))
def
test_filter_match_trace
(
self
):
def
test_filter_match_trace
(
self
):
t1
=
((
"a.py"
,
2
),
(
"b.py"
,
3
))
t1
=
((
"a.py"
,
2
),
(
"b.py"
,
3
))
t2
=
((
"b.py"
,
4
),
(
"b.py"
,
5
))
t2
=
((
"b.py"
,
4
),
(
"b.py"
,
5
))
...
...
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