MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/cwd/usr/lib64/python2.4/test/test_syntax.pyc
mō
‚=5Dc@sfdkZdkZdkZdklZdeifd„ƒYZd„ZedjoeƒndS(N(stest_supporttSyntaxTestCasecBs2tZddd„Zd„Zd„Zd„ZRS(Ns
<testcase>texeccCszyt|||ƒWnRtj
oF}ti|t	|ƒƒ}|djo|i
d|fƒqvnX|i
dƒdS(sŪCheck that compiling code raises SyntaxError with errtext.

        errtest is a regular expression that must be present in the
        test of the exception raised.
        s SyntaxError did not contain '%r's#compile() did not raise SyntaxErrorN(tcompiletcodetfilenametmodetSyntaxErrorterrtretsearchterrtexttstrtmotNonetselftfail(RRR
RRRR((t(/usr/lib64/python2.4/test/test_syntax.pyt_check_error	s
cCs|iddƒdS(Nsf() = 1tassign(RR(R((Rttest_assign_callscCs|iddƒdS(Nsdel f()tdelete(RR(R((Rttest_assign_delscCsOtidddƒ}tidddtƒ|i|dƒtii	dƒdS(	Ns(?m)^ *:tsŊ            :def error(a):
            :    global a  # SyntaxError
            :def warning():
            :    b = 1
            :    global b  # SyntaxWarning
            :tactiontignoretcategorytglobali(
Rtsubtsourcetwarningstfilterwarningst
SyntaxWarningRRtfilterstpop(RR((Rttest_global_err_then_warns
	(t__name__t
__module__RRRR"(((RRs		cCstitƒdS(N(ttest_supporttrun_unittestR(((Rt	test_main-st__main__(	RtunittestRttestR%tTestCaseRR'R#(R%RR)RRR'((Rt?s			
&