Current Path: > > opt > cloudlinux > venv > lib > python3.11 > site-packages > numpy > distutils > > tests >
Operation : Linux premium131.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 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 0 bytes | April 17 2025 13:10:58. | |
test_build_ext.py | File | 2769 bytes | April 17 2025 13:10:58. | |
test_ccompiler_opt.py | File | 28778 bytes | April 17 2025 13:10:58. | |
test_ccompiler_opt_conf.py | File | 6347 bytes | April 17 2025 13:10:58. | |
test_exec_command.py | File | 7395 bytes | April 17 2025 13:10:58. | |
test_fcompiler.py | File | 1277 bytes | April 17 2025 13:10:58. | |
test_fcompiler_gnu.py | File | 2136 bytes | April 17 2025 13:10:58. | |
test_fcompiler_intel.py | File | 1058 bytes | April 17 2025 13:10:58. | |
test_fcompiler_nagfor.py | File | 1102 bytes | April 17 2025 13:10:58. | |
test_from_template.py | File | 1103 bytes | April 17 2025 13:10:58. | |
test_log.py | File | 868 bytes | April 17 2025 13:10:58. | |
test_mingw32ccompiler.py | File | 1609 bytes | April 17 2025 13:10:58. | |
test_misc_util.py | File | 3218 bytes | April 17 2025 13:10:58. | |
test_npy_pkg_config.py | File | 2557 bytes | April 17 2025 13:10:58. | |
test_shell_utils.py | File | 2114 bytes | April 17 2025 13:10:58. | |
test_system_info.py | File | 10999 bytes | April 17 2025 13:10:58. |
from numpy.testing import assert_ import numpy.distutils.fcompiler customizable_flags = [ ('f77', 'F77FLAGS'), ('f90', 'F90FLAGS'), ('free', 'FREEFLAGS'), ('arch', 'FARCH'), ('debug', 'FDEBUG'), ('flags', 'FFLAGS'), ('linker_so', 'LDFLAGS'), ] def test_fcompiler_flags(monkeypatch): monkeypatch.setenv('NPY_DISTUTILS_APPEND_FLAGS', '0') fc = numpy.distutils.fcompiler.new_fcompiler(compiler='none') flag_vars = fc.flag_vars.clone(lambda *args, **kwargs: None) for opt, envvar in customizable_flags: new_flag = '-dummy-{}-flag'.format(opt) prev_flags = getattr(flag_vars, opt) monkeypatch.setenv(envvar, new_flag) new_flags = getattr(flag_vars, opt) monkeypatch.delenv(envvar) assert_(new_flags == [new_flag]) monkeypatch.setenv('NPY_DISTUTILS_APPEND_FLAGS', '1') for opt, envvar in customizable_flags: new_flag = '-dummy-{}-flag'.format(opt) prev_flags = getattr(flag_vars, opt) monkeypatch.setenv(envvar, new_flag) new_flags = getattr(flag_vars, opt) monkeypatch.delenv(envvar) if prev_flags is None: assert_(new_flags == [new_flag]) else: assert_(new_flags == prev_flags + [new_flag])
SILENT KILLER Tool