Your IP : 216.73.217.129
3
��2a|� � @ 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
'