/opt/alt/python27/lib/python2.7/site-packages/nose
NameSizeModeActions
ext/-0755rm
plugins/-0755rm
sphinx/-0755rm
tools/-0755rm
case.py131710644editdlrm
case.pyc150950644editdlrm
case.pyo150950644editdlrm
commands.py63100644editdlrm
commands.pyc61500644editdlrm
commands.pyo61500644editdlrm
config.py252360644editdlrm
config.pyc242570644editdlrm
config.pyo242570644editdlrm
core.py130930644editdlrm
core.pyc134690644editdlrm
core.pyo134690644editdlrm
exc.py3760644editdlrm
exc.pyc5890644editdlrm
exc.pyo5890644editdlrm
failure.py12490644editdlrm
failure.pyc20000644editdlrm
failure.pyo20000644editdlrm
importer.py59780644editdlrm
importer.pyc57620644editdlrm
importer.pyo57620644editdlrm
inspector.py69860644editdlrm
inspector.pyc60920644editdlrm
inspector.pyo60920644editdlrm
loader.py254910644editdlrm
loader.pyc189420644editdlrm
loader.pyo188950644editdlrm
proxy.py68790644editdlrm
proxy.pyc83950644editdlrm
proxy.pyo81910644editdlrm
pyversion.py74240644editdlrm
pyversion.pyc95370644editdlrm
pyversion.pyo95370644editdlrm
result.py67110644editdlrm
result.pyc70750644editdlrm
result.pyo70750644editdlrm
selector.py90900644editdlrm
selector.pyc92670644editdlrm
selector.pyo92670644editdlrm
suite.py223410644editdlrm
suite.pyc224620644editdlrm
suite.pyo224620644editdlrm
twistedtools.py55250644editdlrm
twistedtools.pyc63190644editdlrm
twistedtools.pyo63190644editdlrm
usage.txt44250644editdlrm
util.py201370644editdlrm
util.pyc216160644editdlrm
util.pyo216160644editdlrm
__init__.py4040644editdlrm
__init__.pyc7020644editdlrm
__init__.pyo7020644editdlrm
__main__.py1440644editdlrm
__main__.pyc3620644editdlrm
__main__.pyo3620644editdlrm
Edit: /opt/alt/python27/lib/python2.7/site-packages/nose/config.pyo (24257B)
3Sc@ssddkZddkZddkZddkZddkZddkZddklZddklZl Z ddk l Z ddk l Z lZeieZddgZdd gZd d fZed d edddefdYZdefdYZdefdYZdefdYZdefdYZdZdZdZdZ dS(iN(t OptionParser(tabsdirttolist(t NoPlugins(twarntfilterwarningsthelptverboses ~/.nosercs ~/nose.cfgtwin32tclitalwaystcategorytmodules(.*\.)?nose\.configtNoSuchOptionErrorcBseZdZRS(cCsti||||_dS(N(t Exceptiont__init__tname(tselfR((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyR s(t__name__t __module__R(((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyR st ConfigErrorcBseZRS((RR(((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyR%stConfiguredDefaultsOptionParsercBs\eZdZd d dZdZdZdZdZdZ dZ dZ RS( s@ Handler for options from commandline and config files. cse||_||_djo|iin|_|djofd}n||_dS(Ncs |S(((tmsgtkw(terror(s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt4s(t_parsert_config_sectiontNoneRt_errort _file_error(Rtparsertconfig_sectionRt file_error((Rs</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyR-s     cCs]g}|i|ijo=x:|i|iD]"\}}|i|||fq/Wn|S(N(Rtsectionstitemstappend(RtcfgtfilenametconfigRtvalue((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt _configTuples7s  cCsg}x{|D]s}ti}y|i|Wn4tij o%}td|t|fnX|i|i||q W|S(Ns Error reading config file %r: %s(t ConfigParsertRawConfigParsertreadtErrorRtstrtextendR)(Rt filenamesR'R&R%texc((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt_readFromFilenames>s c Csti}y |i}Wntj o d}nXy|i|Wn4tij o%}td|t|fnX|i||S(Nss Error reading config file %r: %s( R*R+RtAttributeErrortreadfpR-RR.R)(RtfhR%R&R1((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt_readFromFileObjectJs   cCsry |iWnKtj o?|}t|to |g}n|}|i|}nX|}|i|}|S(N(treadlineR3t isinstancet basestringR2R6(Rt config_filestfilename_or_filenamesR0R'R5((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt_readConfigurationWs  cCsPd|}|i|}|djot|n|i||||dS(Ns--(t get_optionRR tprocess(RRR(tvaluesRtopt_strtoption((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt_processConfigValuefs   c Csx|D]\}}}|tjoqny|i||||Wqtj o/}|id||ifd|d|qtij oQ}t|id|t |d}|id||fd|d|qXqWdS(Ns/Error reading config file %r: no such option %rRR&s--is Error reading config file %r: %s( toption_blacklistRBR RRtoptparsetOptionValueErrorR.treplacetrepr( RRR'R?RR(R&R1R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt_applyConfigurationToValuesns  %  c Cs|ii}y|i|}Wn(tj o}|it|nGXy|i|i||Wn(tj o}|it|nX|ii||S(N(Rtget_default_valuesR<RRR.RHt parse_args(RtargsR:R?R'R1((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pytparseArgsAndConfigFilessN( RRt__doc__RRR)R2R6R<RBRHRL(((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyR)s    tConfigcBseZdZdZdZdZdZeZdZdddZ dZ dZ d Z dd Zdd Zd Zd ZdZdZRS(sDnose configuration. Instances of Config are used throughout nose to configure behavior, including plugin lists. Here are the default values for all config keys:: self.env = env = kw.pop('env', {}) self.args = () self.testMatch = re.compile(r'(?:^|[\b_\.%s-])[Tt]est' % os.sep) self.addPaths = not env.get('NOSE_NOPATH', False) self.configSection = 'nosetests' self.debug = env.get('NOSE_DEBUG') self.debugLog = env.get('NOSE_DEBUG_LOG') self.exclude = None self.getTestCaseNamesCompat = False self.includeExe = env.get('NOSE_INCLUDE_EXE', sys.platform in exe_allowed_platforms) self.ignoreFiles = (re.compile(r'^\.'), re.compile(r'^_'), re.compile(r'^setup\.py$') ) self.include = None self.loggingConfig = None self.logStream = sys.stderr self.options = NoOptions() self.parser = None self.plugins = NoPlugins() self.srcDirs = ('lib', 'src') self.runOnInit = True self.stopOnError = env.get('NOSE_STOP', False) self.stream = sys.stderr self.testNames = () self.verbosity = int(env.get('NOSE_VERBOSE', 1)) self.where = () self.py3where = () self.workingDir = None cKs|idh|_}d|_|iddti|_ti|i|_ |idt  |_ d|_ |id|_ |id|_d|_t |_|idtitj|_d d d g|_tti|i|_d|_d|_ti|_t|_d|_t |_!d|_"t#|_$|idt |_%ti|_&g|_'t(|idd|_)d|_*d|_+ti,|_-t |_.t |_/t0|_1t |_2|i3i4|_5|i6||i3i4|_7dS(NtenvtNOSE_TESTMATCHs(?:^|[\b_\.%s-])[Tt]estt NOSE_NOPATHt nosetestst NOSE_DEBUGtNOSE_DEBUG_LOGtNOSE_INCLUDE_EXEs^\.s^_s ^setup\.py$tlibtsrct NOSE_STOPt NOSE_VERBOSEi((slibRW(((8tpopRORKtgettostsept testMatchPattretcompilet testMatchtFalsetaddPathst configSectiontdebugtdebugLogRtexcludetgetTestCaseNamesCompattsystplatformtexe_allowed_platformst includeExetignoreFilesDefaultStringstmapt ignoreFilestincludet loggingConfigtstderrt logStreamt NoOptionstoptionsRRtpluginstsrcDirstTruet runOnInitt stopOnErrortstreamt testNamestintt verbositytwheretpy3wheretgetcwdt workingDirttraverseNamespacetfirstPackageWinsRt parserClasstworkert__dict__tcopyt_defaulttupdatet_orig(RRRO((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRsN                        cCsF|ii}|d=|d=|d=|d=|d=|ii|d<|S(NR{RRRORsRv(RRRvt __class__(Rtstate((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt __getstate__scCsw|id}|i|t|_||_|ii|i}|ii|h|ii|i |dS(NRv( RZRRxRRvt loadPluginsRt addOptionst configureRu(RRt pluginclst dummy_parser((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt __setstate__s     c Cs|ii}h|dddd|i dd?dd@|idAdBddCddd|i dd?ddD|idEdFdd"ddGdd3ddH|idIdJdd"ddKdd3ddL|idMdNdd"ddOdd3ddP|idQdRddddSd|i ddT|idUdVddWddXd|i ddY|idZdddd[d|i dd\|id]ddWdd[dd^|id_ddd|idd`dda|idbdcdddddtddeddf|idgddWdtddhddi|ii|i|||_|S(ks,Get the command line option parser. s-Vs --versiontactiont store_truetdesttversionRRsOutput nose version and exits-ps --pluginsRs[Output list of available plugins and exit. Combine with higher verbosity for greater details-vs --verbosetcountR~sBe more verbose. [NOSE_VERBOSE]s --verbositytstoretmetavart VERBOSITYRR}s.Set verbosity; --verbosity=2 is the same as -vs-qs--quiett store_consttconstisBe less verboses-cs--configR$RtFILESsLoad configuration from config file(s). May be specified multiple times; in that case, all config files will be loaded and combineds-ws--whereRtWHEREsLook for tests in this directory. May be specified multiple times. The first directory passed will be used as the working directory, in place of the current working directory, which is the default. Others will be added to the list of tests to execute. [NOSE_WHERE]s --py3whereRtPY3WHEREs-Look for tests in this directory under Python 3.x. Functions the same as 'where', but only applies if running under Python 3.x or above. Note that, if present under 3.x, this option completely replaces any directories specified with 'where', so the 'where' option becomes ineffective. [NOSE_PY3WHERE]s-ms--matchs --testmatchRatREGEXsFiles, directories, function names, and class names that match this regular expression are considered tests. Default: %s [NOSE_TESTMATCH]s--testsR|tNAMESsRun these tests (comma-separated list). This argument is useful mainly from configuration files; on the command line, just pass the tests to run as additional arguments with no switch.s-ls--debugResActivate debug logging for one or more systems. Available debug loggers: nose, nose.importer, nose.inspector, nose.plugins, nose.result and nose.selector. Separate multiple names with a comma.s --debug-logRftFILEs5Log debug messages to this file (default: sys.stderr)s--logging-configs --log-configRqsQLoad logging config from this file -- bypasses all other logging config settings.s-Is--ignore-filesRosCompletely ignore any file that matches this regular expression. Takes precedence over any other settings or plugins. Specifying this option will replace the default setting. Specify this option multiple times to add more regular expressions [NOSE_IGNORE_FILES]s-es --excludeRgs<Don't run tests that match regular expression [NOSE_EXCLUDE]s-is --includeRpsThis regular expression will be applied to files, directories, function names, and class names for a chance to include additional tests that do not match TESTMATCH. Specify this option multiple times to add more regular expressions [NOSE_INCLUDE]s-xs--stopRzs3Stop running tests after the first error or failures-Ps--no-path-adjustmentt store_falseRcsCDon't make any changes to sys.path when loading tests [NOSE_NOPATH]s--exeRlsLook for tests in python modules that are executable. Normal behavior is to exclude executable modules, since they may not be import-safe [NOSE_INCLUDE_EXE]s--noexesoDO NOT look for tests in python modules that are executable. (The default on the windows platform is to do so.)s--traverse-namespaceRs8Traverse through all path entries of a namespace packages--first-package-winss--first-pkg-winss--1st-pkg-winsRsnose's importer will normally evict a package from sys.modules if it sees a package with the same name in a different location. Set this option to disable that behavior.s--no-byte-compileRsiPrevent nose from byte-compiling the source into .pyc files while nose is scanning for and running tests.N(RRORt add_optionRbR~R^RReRfRqRzRcRlRRxRvRt pluginOpts(RRROR((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRs                     cCs|i|iS(s*Return the generated help message (Rt format_help(RR((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRTscCs|ii||idS(N(RvRRO(RR((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRYscCs|ii|idS(N(RRR(R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pytreset\scCs |iiS(N(RR(R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyttodict_scCs|ii|dS(N(RR(RR((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRbsN(RRRMRRRRt__str__RRRRRRRRRRRR(((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRNs"% +  N ;      RtcBs2eZdZdZdZdZdZRS(s9Options container that returns None for all options. cCshS(N((R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRiscCsdS(N((RR((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRlscCsdS(N(((R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt__getnewargs__oscCstS(N(Rb(R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt __nonzero__rs(RRRMRRRR(((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyRtfs    cCs"ttiittiitS(s2Return path to any existing user config files (tfilterR\RRRnt expanduserR:(((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pytuser_config_filesvs cCs,t}tiido |dgS|S(slReturn path to any existing user config files, plus any setup.cfg in the current working directory. s setup.cfg(RR\RR(tuser((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pytall_config_files}s  c CsX|djotS|djotSt|}t|djotS|id jS( s(Does the value look like an on/off flag?iiit1t0tFtTtTRUEtFALSEtONtOFF(RRRRRRRR(RxRbR.tlentupper(tval((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pytflags   cCst|idjS(NRRRR(RRsTRUEsON(R.R(R((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyt_bools(!RRDR\R_RiR*Rt nose.utilRRtnose.plugins.managerRtwarningsRRRRRRCR:RkRRR RtobjectRRNRtRRRR (((s</opt/alt/python27/lib/python2.7/site-packages/nose/config.pyts4         d