| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.10/test/__pycache__/ |
Upload File : |
o
�9j1i � @ s� d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z m
Z
mZ ddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ dd lmZ ejjrue�d
��ddlZej duZ!da"dd� Z#d
d� Z$G dd� dej%�Z&G dd� de'�Z(G dd� dej%�Z)G dd� dej%�Z*e�+ej,dkd�G dd� dej%��Z-e.dkr�e�/� dS dS )zTests for 'site'.
Tests assume the initial paths in sys.path once the interpreter has begun
executing have not been removed.
� N)�support)� os_helper)�
socket_helper)�captured_stderr)�TESTFN�EnvironmentVarGuard�
change_cwd)�mock)�copyzPython was invoked with -Sc
C sv t jd d � atjr7tj�tj�s9zt�tj� t� tj� W d S t
y6 } z
t�dtj| f ��d } ~ ww d S d S )Nz-unable to create user site directory (%r): %s)
�sys�path�OLD_SYS_PATH�site�ENABLE_USER_SITE�os�isdir� USER_SITE�makedirs�
addsitedir�PermissionError�unittest�SkipTest)�exc� r �%/usr/lib/python3.10/test/test_site.py�setUpModule+ s ����r c C s t tjd d �<