Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
Python-3.10.14 /
Lib /
test /
test_importlib /
Delete
Unzip
Name
Size
Permission
Date
Action
builtin
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
data
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
data01
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
data02
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
data03
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
extension
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
frozen
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
import_
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
namespace_pkgs
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
namespacedata01
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
partial
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
source
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
zipdata01
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
zipdata02
[ DIR ]
drwxr-xr-x
2024-03-19 22:46
__init__.py
142
B
-rw-r--r--
2024-03-19 22:46
__main__.py
58
B
-rw-r--r--
2024-03-19 22:46
abc.py
2.22
KB
-rw-r--r--
2024-03-19 22:46
fixtures.py
7.28
KB
-rw-r--r--
2024-03-19 22:46
stubs.py
233
B
-rw-r--r--
2024-03-19 22:46
test_abc.py
34.19
KB
-rw-r--r--
2024-03-19 22:46
test_api.py
18.59
KB
-rw-r--r--
2024-03-19 22:46
test_files.py
1011
B
-rw-r--r--
2024-03-19 22:46
test_lazy.py
4.81
KB
-rw-r--r--
2024-03-19 22:46
test_locks.py
4.41
KB
-rw-r--r--
2024-03-19 22:46
test_main.py
8.75
KB
-rw-r--r--
2024-03-19 22:46
test_metadata_api.py
11.41
KB
-rw-r--r--
2024-03-19 22:46
test_namespace_pkgs.py
12.11
KB
-rw-r--r--
2024-03-19 22:46
test_open.py
2.31
KB
-rw-r--r--
2024-03-19 22:46
test_path.py
1.88
KB
-rw-r--r--
2024-03-19 22:46
test_pkg_import.py
2.69
KB
-rw-r--r--
2024-03-19 22:46
test_read.py
1.94
KB
-rw-r--r--
2024-03-19 22:46
test_reader.py
4.18
KB
-rw-r--r--
2024-03-19 22:46
test_resource.py
8.18
KB
-rw-r--r--
2024-03-19 22:46
test_spec.py
30.88
KB
-rw-r--r--
2024-03-19 22:46
test_threaded_import.py
9.49
KB
-rw-r--r--
2024-03-19 22:46
test_util.py
34.67
KB
-rw-r--r--
2024-03-19 22:46
test_windows.py
7.26
KB
-rw-r--r--
2024-03-19 22:46
test_zip.py
2.61
KB
-rw-r--r--
2024-03-19 22:46
threaded_import_hangers.py
1.45
KB
-rw-r--r--
2024-03-19 22:46
update-zips.py
1.38
KB
-rwxr-xr-x
2024-03-19 22:46
util.py
18.22
KB
-rw-r--r--
2024-03-19 22:46
Save
Rename
import abc class FinderTests(metaclass=abc.ABCMeta): """Basic tests for a finder to pass.""" @abc.abstractmethod def test_module(self): # Test importing a top-level module. pass @abc.abstractmethod def test_package(self): # Test importing a package. pass @abc.abstractmethod def test_module_in_package(self): # Test importing a module contained within a package. # A value for 'path' should be used if for a meta_path finder. pass @abc.abstractmethod def test_package_in_package(self): # Test importing a subpackage. # A value for 'path' should be used if for a meta_path finder. pass @abc.abstractmethod def test_package_over_module(self): # Test that packages are chosen over modules. pass @abc.abstractmethod def test_failure(self): # Test trying to find a module that cannot be handled. pass class LoaderTests(metaclass=abc.ABCMeta): @abc.abstractmethod def test_module(self): """A module should load without issue. After the loader returns the module should be in sys.modules. Attributes to verify: * __file__ * __loader__ * __name__ * No __path__ """ pass @abc.abstractmethod def test_package(self): """Loading a package should work. After the loader returns the module should be in sys.modules. Attributes to verify: * __name__ * __file__ * __package__ * __path__ * __loader__ """ pass @abc.abstractmethod def test_lacking_parent(self): """A loader should not be dependent on it's parent package being imported.""" pass @abc.abstractmethod def test_state_after_failure(self): """If a module is already in sys.modules and a reload fails (e.g. a SyntaxError), the module should be in the state it was before the reload began.""" pass @abc.abstractmethod def test_unloadable(self): """Test ImportError is raised when the loader is asked to load a module it can't.""" pass