Your IP : 216.73.216.213
�
�mYc @` s� d Z d d l m Z m Z m Z d d l Z d d l Z d Z d Z d Z d d � Z d � Z d � Z
d d d
� Z d � Z d S(
s�
Utilities for truncating assertion output.
Current default behaviour is to truncate assertion explanations at
~8 terminal lines, unless running in "-vv" mode or running on CI.
i ( t absolute_importt divisiont print_functionNi iP s use '-vv' to showc C` s t | � r t | � S| S( sQ
Truncate this assertion explanation if the given test item is eligible.
( t _should_truncate_itemt _truncate_explanation( t explanationt itemt
max_length( ( sK /opt/alt/python27/lib/python2.7/site-packages/_pytest/assertion/truncate.pyt truncate_if_required s
c C` s# | j j j } | d k o"