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
437b149b
Kaydet (Commit)
437b149b
authored
Şub 17, 2012
tarafından
Petri Lehtinen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix a variable scoping error in an sqlite3 test
Initial patch by Torsten Landschoff. Closes #11689.
üst
e6010061
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
hooks.py
Lib/sqlite3/test/hooks.py
+3
-3
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/sqlite3/test/hooks.py
Dosyayı görüntüle @
437b149b
...
...
@@ -166,14 +166,14 @@ class ProgressTests(unittest.TestCase):
Test that setting the progress handler to None clears the previously set handler.
"""
con
=
sqlite
.
connect
(
":memory:"
)
action
=
0
action
=
[]
def
progress
():
action
=
1
action
.
append
(
1
)
return
0
con
.
set_progress_handler
(
progress
,
1
)
con
.
set_progress_handler
(
None
,
1
)
con
.
execute
(
"select 1 union select 2 union select 3"
)
.
fetchall
()
self
.
assertEqual
(
action
,
0
,
"progress handler was not cleared"
)
self
.
assertEqual
(
len
(
action
)
,
0
,
"progress handler was not cleared"
)
def
suite
():
collation_suite
=
unittest
.
makeSuite
(
CollationTests
,
"Check"
)
...
...
Misc/ACKS
Dosyayı görüntüle @
437b149b
...
...
@@ -475,6 +475,7 @@ Vladimir Kushnir
Kirill Kuzminykh (Кирилл Кузьминых)
Ross Lagerwall
Cameron Laird
Torsten Landschoff
Łukasz Langa
Tino Lange
Andrew Langmead
...
...
Misc/NEWS
Dosyayı görüntüle @
437b149b
...
...
@@ -526,6 +526,9 @@ Tools/Demos
Tests
-----
- Issue #11689: Fix a variable scoping error in an sqlite3 test.
Initial patch by Torsten Landschoff.
- Issue #13304: Skip test case if user site-packages disabled (-s or
PYTHONNOUSERSITE). (Patch by Carl Meyer)
...
...
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