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
75fb816c
Kaydet (Commit)
75fb816c
authored
May 16, 2015
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #23184: idle tests, remove unused names and imports.
üst
038c16b9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
test_autocomplete.py
Lib/idlelib/idle_test/test_autocomplete.py
+2
-2
test_formatparagraph.py
Lib/idlelib/idle_test/test_formatparagraph.py
+1
-1
test_searchdialogbase.py
Lib/idlelib/idle_test/test_searchdialogbase.py
+3
-3
test_searchengine.py
Lib/idlelib/idle_test/test_searchengine.py
+1
-1
test_text.py
Lib/idlelib/idle_test/test_text.py
+0
-1
No files found.
Lib/idlelib/idle_test/test_autocomplete.py
Dosyayı görüntüle @
75fb816c
import
unittest
from
test.support
import
requires
from
tkinter
import
Tk
,
Text
,
TclError
from
tkinter
import
Tk
,
Text
import
idlelib.AutoComplete
as
ac
import
idlelib.AutoCompleteWindow
as
acw
...
...
@@ -95,8 +95,8 @@ class AutoCompleteTest(unittest.TestCase):
del
ev
.
mc_state
# If autocomplete window is open, complete() method is called
testwin
=
self
.
autocomplete
.
_make_autocomplete_window
()
self
.
text
.
insert
(
'1.0'
,
're.'
)
# This must call autocomplete._make_autocomplete_window()
Equal
(
self
.
autocomplete
.
autocomplete_event
(
ev
),
'break'
)
# If autocomplete window is not active or does not exist,
...
...
Lib/idlelib/idle_test/test_formatparagraph.py
Dosyayı görüntüle @
75fb816c
...
...
@@ -2,7 +2,7 @@
import
unittest
from
idlelib
import
FormatParagraph
as
fp
from
idlelib.EditorWindow
import
EditorWindow
from
tkinter
import
Tk
,
Text
,
TclError
from
tkinter
import
Tk
,
Text
from
test.support
import
requires
...
...
Lib/idlelib/idle_test/test_searchdialogbase.py
Dosyayı görüntüle @
75fb816c
...
...
@@ -6,13 +6,13 @@ testing skipping of suite when self.needwrapbutton is false.
'''
import
unittest
from
test.support
import
requires
from
tkinter
import
Tk
,
Toplevel
,
Frame
,
Label
,
BooleanVar
,
StringVar
from
tkinter
import
Tk
,
Toplevel
,
Frame
##
, BooleanVar, StringVar
from
idlelib
import
SearchEngine
as
se
from
idlelib
import
SearchDialogBase
as
sdb
from
idlelib.idle_test.mock_idle
import
Func
from
idlelib.idle_test.mock_tk
import
Var
,
Mbox
## from idlelib.idle_test.mock_tk import Var
# The following could help make some tests gui-free.
# The
## imports above &
following could help make some tests gui-free.
# However, they currently make radiobutton tests fail.
##def setUpModule():
## # Replace tk objects used to initialize se.SearchEngine.
...
...
Lib/idlelib/idle_test/test_searchengine.py
Dosyayı görüntüle @
75fb816c
...
...
@@ -7,7 +7,7 @@
import
re
import
unittest
from
test.support
import
requires
#
from test.support import requires
from
tkinter
import
BooleanVar
,
StringVar
,
TclError
# ,Tk, Text
import
tkinter.messagebox
as
tkMessageBox
from
idlelib
import
SearchEngine
as
se
...
...
Lib/idlelib/idle_test/test_text.py
Dosyayı görüntüle @
75fb816c
...
...
@@ -3,7 +3,6 @@ import unittest
from
test.support
import
requires
from
_tkinter
import
TclError
import
tkinter
as
tk
class
TextTest
(
object
):
...
...
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