MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/cwd/proc/self/root/proc/2/root/usr/lib/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/lib/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			
&