Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
ó
{fc @ s7 d d l Z d d l m Z d d l m Z d d l m Z m Z d d l m
Z
d e j f d „ ƒ YZ d e j f d „ ƒ YZ
d
e j f d „ ƒ YZ d e j f d
„ ƒ YZ d e j f d „ ƒ YZ d d d „ ƒ YZ d d d „ ƒ YZ d e j f d „ ƒ YZ e d k r3e j d d d d ƒ n d S( iÿÿÿÿN( t FormatParagraph( t EditorWindow( t Tkt Text( t requirest Is_Get_Testc B sG e Z d Z d Z d Z d Z d Z d Z d „ Z d „ Z d „ Z
RS( s Test the is_ and get_ functionss # This is a comments This is not a comments # This is a comment s # This is a comments This is not a commentc C sI | j t j d ƒ ƒ | j t j d ƒ ƒ | j t j | j ƒ ƒ d S( Nt s
( t
assertTruet fpt is_all_whitet assertFalset test_comment( t self( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt test_is_all_white s c C sq | j } | t j | j ƒ d ƒ | t j | j ƒ d ƒ | t j | j ƒ d ƒ | t j | j ƒ d ƒ d S( NR s ( t assertEqualR t
get_indentR t trailingws_commentt leadingws_commentt leadingws_nocomment( R t Equal( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt test_get_indent s
c C sŠ | j } | t j | j ƒ d ƒ | t j | j ƒ d ƒ | t j | j ƒ d ƒ | t j | j ƒ d ƒ | t j | j ƒ d ƒ d S( Nt #s #s R ( R R t get_comment_headerR R R R t test_nocomment( R R ( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt test_get_comment_header s ( t __name__t
__module__t __doc__R R R R R R
R R ( ( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyR s t FindTestc B s8 e Z d Z e d „ ƒ Z d „ Z d „ Z d „ Z RS( s` Test the find_paragraph function in FormatParagraph.
Using the runcase() function, find_paragraph() is called with 'mark' set at
multiple indexes before and inside the test paragraph.
It appears that code with the same indentation as a quoted string is grouped
as part of the same paragraph, which is probably incorrect behavior.
c C s d d l m } | ƒ | _ d S( Niÿÿÿÿ( R ( t idlelib.idle_test.mock_tkR t text( t clsR ( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt
setUpClass2 s c C s· | j } | j d | ƒ x‡ t d | ƒ D]v } t | j d | ƒ j d ƒ d ƒ } xG d | d | f D]2 } d | | f } | j t j | | ƒ | ƒ qi Wq) W| j d d ƒ d S( Ns 1.0i s %d.endt .i i s %d.%dt end(
R t insertt ranget intt indext splitR R t find_paragrapht delete( R t
inserttextt stoplinet expectedR t linet
linelengtht colt tempindex( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt runcase7 s &$c C sd d } | j | d d d d | d d !f ƒ d } | j | d d
d d | d d
!f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d S( Ns; # Comment block with no blank lines before
# Comment line
i s 1.0s 3.0R i i: sG
# Comment block with whitespace line before and after
# Comment line
i s 2.0s 4.0i iF sS
# Indented comment block with whitespace before and after
# Comment line
s #iR s
# Single line comment
i s4
# Single line comment with leading whitespace
i3 s0
# Comment immediately followed by code
x = 42
i( s=
# Indented comment immediately followed by code
x = 42
i5 s=
# Comment immediately followed by indented code
x = 42
i1 ( R1 ( R t comment( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt test_find_commentD s &&&&&&&c C sà d } | j | d d d d | d d !f ƒ d } | j | d d
d d | d d
!f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d } | j | d d
d d | d d !f ƒ d S( Ns6 """String with no blank lines before
String line
"""
i s 1.0s 4.0R i i5 sC
"""String with whitespace line before and after
String line.
"""
i s 2.0s 5.0i iB sV
"""Indented string with whitespace before and after
Comment string.
"""
s iU s
"""Single line string."""
i s 3.0i s8
"""Single line string with leading whitespace."""
i7 ( R1 ( R t
teststring( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt test_find_paragraphz s &&&&( R R R t classmethodR R1 R3 R5 ( ( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyR ( s
6t ReformatFunctionTestc B s e Z d Z d „ Z RS( s? Test the reformat_paragraph function without the editor window.c C s* | j } t j } d } | | d d ƒ d ƒ | | d d ƒ d ƒ | | | d ƒ d ƒ | | | d ƒ d ƒ | | | d ƒ d
ƒ | | | d ƒ d
ƒ | | | d ƒ d ƒ d
} | | | d ƒ d ƒ | | | d ƒ d ƒ | | | d ƒ d ƒ | | | d ƒ d ƒ | | | d ƒ d
ƒ d S( Ns
O hello worldt i s Hello worldi s Hello worlds
O
hello
worldi i s
O hello
worldi i
s
O hello worlds
O
hello
worlds
O hello
world( R R t reformat_paragraph( R R t reformt hw( ( s> /usr/lib64/python2.7/idlelib/idle_test/test_formatparagraph.pyt test_reformat_paragraph¢ s ( R R R R<