!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/lib/python3/dist-packages/numpy/typing/tests/   drwxr-xr-x
Free 662.99 GB of 879.6 GB (75.37%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     test_typing_extensions.py (1002 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"""Tests for the optional typing-extensions dependency."""

import sys
import textwrap
import subprocess

CODE = textwrap.dedent(r"""
    import sys
    import importlib

    assert "typing_extensions" not in sys.modules
    assert "numpy.typing" not in sys.modules

    # Importing `typing_extensions` will now raise an `ImportError`
    sys.modules["typing_extensions"] = None
    assert importlib.import_module("numpy.typing")
""")


def test_no_typing_extensions() -> None:
    """Import `numpy.typing` in the absence of typing-extensions.

    Notes
    -----
    Ideally, we'd just run the normal typing tests in an environment where
    typing-extensions is not installed, but unfortunatelly this is currently
    impossible as it is an indirect hard dependency of pytest.

    """
    p = subprocess.run([sys.executable, '-c', CODE], capture_output=True)
    if p.returncode:
        raise AssertionError(
            f"Non-zero return code: {p.returncode!r}\n\n{p.stderr.decode()}"
        )


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0256 ]--