GRAYBYTE WORDPRESS FILE MANAGER5123

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/hc_python/lib/python3.12/site-packages/nose/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/hc_python/lib/python3.12/site-packages/nose//failure.py
import logging
import unittest
from traceback import format_tb
from nose.pyversion import is_base_exception

log = logging.getLogger(__name__)


__all__ = ['Failure']


class Failure(unittest.TestCase):
    """Unloadable or unexecutable test.

    A Failure case is placed in a test suite to indicate the presence of a
    test that could not be loaded or executed. A common example is a test
    module that fails to import.
    
    """
    __test__ = False # do not collect
    def __init__(self, exc_class, exc_val, tb=None, address=None):
        log.debug("A failure! %s %s %s", exc_class, exc_val, format_tb(tb))
        self.exc_class = exc_class
        self.exc_val = exc_val
        self.tb = tb
        self._address = address
        unittest.TestCase.__init__(self)

    def __str__(self):
        return "Failure: %s (%s)" % (
            getattr(self.exc_class, '__name__', self.exc_class), self.exc_val)

    def address(self):
        return self._address
    
    def runTest(self):
        if self.tb is not None:
            if is_base_exception(self.exc_val):
                raise self.exc_val.with_traceback(self.tb)
            raise self.exc_class(self.exc_val).with_traceback(self.tb)
        else:
            raise self.exc_class(self.exc_val)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 23 2025 08:31:29
root / root
0755
__pycache__
--
April 04 2025 08:00:19
root / root
0755
ext
--
April 04 2025 08:00:19
root / root
0755
plugins
--
April 04 2025 08:00:19
root / root
0755
sphinx
--
April 04 2025 08:00:19
root / root
0755
tools
--
April 04 2025 08:00:19
root / root
0755
__init__.py
0.395 KB
April 04 2025 08:00:19
root / root
0644
__main__.py
0.141 KB
April 04 2025 08:00:19
root / root
0644
case.py
12.914 KB
April 04 2025 08:00:19
root / root
0644
commands.py
6.168 KB
April 04 2025 08:00:19
root / root
0644
config.py
24.689 KB
April 04 2025 08:00:19
root / root
0644
core.py
12.765 KB
April 04 2025 08:00:19
root / root
0644
exc.py
0.367 KB
April 04 2025 08:00:19
root / root
0644
failure.py
1.243 KB
April 04 2025 08:00:19
root / root
0644
importer.py
5.838 KB
April 04 2025 08:00:19
root / root
0644
inspector.py
6.877 KB
April 04 2025 08:00:19
root / root
0644
loader.py
24.979 KB
April 04 2025 08:00:19
root / root
0644
proxy.py
6.718 KB
April 04 2025 08:00:19
root / root
0644
pyversion.py
7.279 KB
April 04 2025 08:00:19
root / root
0644
result.py
6.583 KB
April 04 2025 08:00:19
root / root
0644
selector.py
8.774 KB
April 04 2025 08:00:19
root / root
0644
suite.py
21.88 KB
April 04 2025 08:00:19
root / root
0644
twistedtools.py
5.41 KB
April 04 2025 08:00:19
root / root
0644
usage.txt
4.321 KB
April 04 2025 08:00:19
root / root
0644
util.py
19.857 KB
April 04 2025 08:00:19
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF