Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
nose /
tools /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
436
B
-rw-r--r--
2014-03-29 06:20
__init__.pyc
565
B
-rw-r--r--
2017-08-01 23:26
__init__.pyo
565
B
-rw-r--r--
2017-08-01 23:26
nontrivial.py
4.07
KB
-rw-r--r--
2014-03-29 06:20
nontrivial.pyc
5.54
KB
-rw-r--r--
2017-08-01 23:26
nontrivial.pyo
5.54
KB
-rw-r--r--
2017-08-01 23:26
trivial.py
1.16
KB
-rw-r--r--
2013-04-05 18:25
trivial.pyc
2.08
KB
-rw-r--r--
2017-08-01 23:26
trivial.pyo
2.08
KB
-rw-r--r--
2017-08-01 23:26
Save
Rename
"""Tools so trivial that tracebacks should not descend into them We define the ``__unittest`` symbol in their module namespace so unittest will skip them when printing tracebacks, just as it does for their corresponding methods in ``unittest`` proper. """ import re import unittest __all__ = ['ok_', 'eq_'] # Use the same flag as unittest itself to prevent descent into these functions: __unittest = 1 def ok_(expr, msg=None): """Shorthand for assert. Saves 3 whole characters! """ if not expr: raise AssertionError(msg) def eq_(a, b, msg=None): """Shorthand for 'assert a == b, "%r != %r" % (a, b) """ if not a == b: raise AssertionError(msg or "%r != %r" % (a, b)) # # Expose assert* from unittest.TestCase # - give them pep8 style names # caps = re.compile('([A-Z])') def pep8(name): return caps.sub(lambda m: '_' + m.groups()[0].lower(), name) class Dummy(unittest.TestCase): def nop(): pass _t = Dummy('nop') for at in [ at for at in dir(_t) if at.startswith('assert') and not '_' in at ]: pepd = pep8(at) vars()[pepd] = getattr(_t, at) __all__.append(pepd) del Dummy del _t del pep8