?PNG  IHDR ? f ??C1 sRGB ?? gAMA ? a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
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/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Gc @s dZddkZddkZddklZyddklZWn#ej oddklZnXddgZde fdYZ de fd YZ d Z d Z d Zd ZdZdZdZedjoddkZeindS(s> Plugin tester ------------- Utilities for testing plugins. iN(twarn(tStringIOt PluginTestertruncBsSeZdZdZdZdZhZdZgZ dZ dZ dZ dZ RS(szA mixin for testing nose plugins in their runtime environment. Subclass this and mix in unittest.TestCase to run integration/functional tests on your plugin. When setUp() is called, the stub test suite is executed with your plugin so that during an actual test you can inspect the artifacts of how your plugin interacted with the stub test suite. Class Variables --------------- - activate - the argument to send nosetests to activate the plugin - suitepath - if set, this is the path of the suite to test. otherwise, you will need to use the hook, makeSuite() - plugins - the list of plugins to make available during the run. Note that this does not mean these plugins will be *enabled* during the run -- only the plugins enabled by the activate argument or other settings in argv or env will be enabled. - args - a list of arguments to add to the nosetests command, in addition to the activate argument - env - optional dict of environment variables to send nosetests cCs tdS(sreturns a suite object of tests to run (unittest.TestSuite()) If self.suitepath is None, this must be implemented. The returned suite object will be executed with all plugins activated. It may return None. Here is an example of a basic suite object you can return :: >>> import unittest >>> class SomeTest(unittest.TestCase): ... def runTest(self): ... raise ValueError("Now do something, plugin!") ... >>> unittest.TestSuite([SomeTest()]) # doctest: +ELLIPSIS ]> N(tNotImplementedError(tself((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyt makeSuiteAsc Csddkl}ddkl}ddkl}d }t}|d|id|d|d|i }|i d j o|i |_ n|i p|i }n|d|i d |d |d t|_t||_d S( s7execute the plugin on the internal test suite. i(tConfig(t TestProgram(t PluginManagertenvtstreamtpluginstargvtconfigtsuitetexitN(t nose.configRt nose.coreRtnose.plugins.managerR tNoneRR R t ignoreFilest suitepathRR tFalsetnosetAccessDecoratortoutput(RRRR RR tconf((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyt _execPluginUs   cCsbd|ig|_|io|ii|in|io|ii|in|idS(sVruns nosetests with the specified test suite, all plugins activated. t nosetestsN(tactivateR targstextendRtappendR(R((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pytsetUpjs   N(t__name__t __module__t__doc__RRRRR R R RRRR"(((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyRs#  RcBs8eZdZdZdZdZdZdZRS(cCs6||_|id|i|_|iddS(Ni(R tseektreadt_buf(RR ((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyt__init__zs  cCs ||ijS(N(R((Rtval((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyt __contains__scCs|iS(N(R (R((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyt__iter__scCs|iS(N(R((R((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyt__str__sN( R#R$RR R(R)R+R,R-(((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pyRws    ccsog}xI|itD]8}|i||ipdi|Vg}qqW|odi|VndS(Nt(t splitlinestTrueR!tstriptjoin(ttexttblocktline((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pytblankline_separated_blockss  cCsftidtitiBtiB}g}x-t|D]}|i|id|q6Wdi|S(Ns # Grab the traceback header. Different versions of Python have # said different things on the first traceback line. ^(?P Traceback\ \( (?: most\ recent\ call\ last | innermost\ last ) \) : ) \s* $ # toss trailing whitespace on the header. (?P .*?) # don't blink: absorb stuff until... ^ (?P \w+ .*) # a line *starts* with alphanum. s\g\n...\n\gR.( tretcompiletVERBOSEt MULTILINEtDOTALLR6R!tsubR2(toutt traceback_retblocksR4((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pytremove_stack_tracess  cCs,tidtitiB}|id|S(Ns # Cut the file and line no, up to the warning name ^.*:\d+:\s (?P\w+): \s+ # warning category (?P.+) $ \n? # warning message ^ .* $ # stack frame s\g: \g(R7R8R9R:R<(R=twarn_re((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pytsimplify_warningsscCstidd|S(NsRan (\d+ tests?) in [0-9.]+ssRan \1 in ...s(R7R<(R=((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pytremove_timingsscCs.t|}t|}t|}|iS(s6Modify nose output to make it easy to use in doctests.(R@RBRCR1(R=((s;/usr/lib/python2.6/site-packages/nose/plugins/plugintest.pytmunge_nose_output_for_doctests   c Os}ddkl}ddkl}ddkl}t}d|jod|idg}t|t o|d|}n|idh}|d|d||ds(   b    <