| Server IP : 118.27.122.248 / Your IP : 216.73.216.153 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib64/python3.6/test/__pycache__/ |
Upload File : |
3 � �^|� � @ s2 d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl mZ d dl Z d dlm Z d dlmZ eed�r�d dlZdZnd Ze je jkZeed�Zejjd�r�d Znd ZG dd� de j�ZG d d� de j�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� de�Z!ej"dd� �Z#dd� Z$G dd� d�Z%G dd � d e%e�Z&G d!d"� d"e�Z'G d#d$� d$e�Z(G d%d&� d&e�Z)G d'd(� d(e%e�Z*G d)d*� d*e�Z+G d+d,� d,e�Z,G d-d.� d.e�Z-e j.e j/k �r�G d/d0� d0e�Z0G d1d2� d2�Z1G d3d4� d4e�Z2e3d5k�r.e j4� dS )6� N)�mock)�support)� script_helper�stat� �spawnlZopenbsd�0 �d c @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�TestLowLevelInternalsc C s: | j ttjd�� | j ttjd�� | j ttjd �� d S )N� � )�assertIs�str�tempfile�_infer_return_type�bytes)�self� r �2/opt/alt/python36/lib64/python3.6/test_tempfile.py�test_infer_return_type_singles( s z4TestLowLevelInternals.test_infer_return_type_singlesc C sp | j ttjdd�� | j ttjdd�� | jt�� tjdd� W d Q R X | jt�� tjdd� W d Q R X d S )Nr r )r r r r r �assertRaises� TypeError)r r r r � test_infer_return_type_multiples- s z6TestLowLevelInternals.test_infer_return_type_multiplesc C s� | j ttjd d�� | j ttjdd �� | j ttjd d �� | j ttjdd �� | j ttjd d�� | jt�� tjdd d� W d Q R X | jt�� tjdd d� W d Q R X d S )Nr r )r r r r r r r )r r r r �)test_infer_return_type_multiples_and_none5 s z?TestLowLevelInternals.test_infer_return_type_multiples_and_noneN)�__name__� __module__�__qualname__r r r r r r r r '