Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
joblib
/
test
/
__pycache__
/
File Content:
test_format_stack.cpython-35.pyc
��X� � @ s� d Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z d d l m Z d d l m Z m Z Gd d � d e � Z d d � Z d d � Z d d � Z d d � Z e d d � � Z d S)z/ Unit tests for the stack formatting utilities � N)�assert_true)� safe_repr�_fixed_getframes�format_records)� format_exc)� with_numpy�npc @ s e Z d Z d d � Z d S)�Viciousc C s t � d S)N)� ValueError)�self� r �/test_format_stack.py�__repr__ s zVicious.__repr__N)�__name__� __module__�__qualname__r r r r r r s r c C s t t � � d S)N)r r r r r r �test_safe_repr s r c C sG | \ } } } } } } | j d � r1 | d 7} | | | | | | f S)Nz.py�c)�endswith)�recordZ_1�filenameZ_2Z_3Z_4Z_5r r r �_change_file_extensions_to_pyc s r c C s d d � } | | | � d S)z7Function that raises with a non trivial call stack c S s t d � � d S)NzNope, this can not work)r )�a�br r r �helper'