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
5a346d5d
Kaydet (Commit)
5a346d5d
authored
May 27, 2017
tarafından
csabella
Kaydeden (comit)
terryjreedy
May 27, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-30290: IDLE: Refactor help_about to PEP8 names (#1714)
Patch by Cheryl Sabella.
üst
c0364fc7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
help_about.py
Lib/idlelib/help_about.py
+0
-0
test_help_about.py
Lib/idlelib/idle_test/test_help_about.py
+9
-9
No files found.
Lib/idlelib/help_about.py
Dosyayı görüntüle @
5a346d5d
This diff is collapsed.
Click to expand it.
Lib/idlelib/idle_test/test_help_about.py
Dosyayı görüntüle @
5a346d5d
...
...
@@ -15,9 +15,9 @@ import unittest
About
=
help_about
.
AboutDialog
class
Dummy_about_dialog
():
# Dummy class for testing file display functions.
idle_credits
=
About
.
ShowIDLEC
redits
idle_readme
=
About
.
ShowIDLEAbout
idle_news
=
About
.
ShowIDLENEWS
idle_credits
=
About
.
show_idle_c
redits
idle_readme
=
About
.
show_readme
idle_news
=
About
.
show_idle_news
# Called by the above
display_file_text
=
About
.
display_file_text
_utest
=
True
...
...
@@ -47,9 +47,9 @@ class AboutDialogTest(unittest.TestCase):
def
test_printer_dialog
(
self
):
"""This will test dialog which using printer"""
buttons
=
[(
license
,
self
.
dialog
.
buttonL
icense
),
(
copyright
,
self
.
dialog
.
buttonC
opyright
),
(
credits
,
self
.
dialog
.
buttonC
redits
)]
buttons
=
[(
license
,
self
.
dialog
.
py_l
icense
),
(
copyright
,
self
.
dialog
.
py_c
opyright
),
(
credits
,
self
.
dialog
.
py_c
redits
)]
for
printer
,
button
in
buttons
:
dialog
=
self
.
dialog
...
...
@@ -64,9 +64,9 @@ class AboutDialogTest(unittest.TestCase):
def
test_file_dialog
(
self
):
"""This will test dialog which using file"""
buttons
=
[(
'README.txt'
,
self
.
dialog
.
idle_about_b
),
(
'NEWS.txt'
,
self
.
dialog
.
idle_news
_b
),
(
'CREDITS.txt'
,
self
.
dialog
.
idle_credits
_b
)]
buttons
=
[(
'README.txt'
,
self
.
dialog
.
readme
),
(
'NEWS.txt'
,
self
.
dialog
.
idle_news
),
(
'CREDITS.txt'
,
self
.
dialog
.
idle_credits
)]
for
filename
,
button
in
buttons
:
dialog
=
self
.
dialog
...
...
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