9M d dl mZ d dlmZmZmZ d dlmZ ddl m Z ddlmZ G d de Z G d d e ZdS ) )dedent) ComparisonShouldRaiseshould_raise)TestCase ) PY_37_PLUS)ShouldAssertc e Zd Zd Zd Zd ZdS )TestShouldAssertc t d 5 d d d d S # 1 swxY w Y d S # t $ r }t | dk sJ Y d }~d S d }~ww xY w)Nfooz,Expected AssertionError('foo'), None raised!)r AssertionErrorstrselfes v/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/testfixtures/tests/test_should_raise.pytest_no_exceptionz"TestShouldAssert.test_no_exception s Le$$ L L Lq66KKKKKKKKKKK Ls, - - $- $- AAAc | t d 5 t # 1 swxY w Y d S # t $ r Y d S w xY w)Nr )r KeyErrorr s r test_wrong_exceptionz%TestShouldAssert.test_wrong_exception s} e$$ ! !jj ! ! ! ! ! ! ! ! ! ! DD s - $- $- ;;c t d 5 J d # 1 swxY w Y d S # t $ r-}t | t d k sJ Y d }~d S d }~ww xY w)Nr Fbarz --- expected +++ actual @@ -1 +1,2 @@ -foo +bar +assert False)r r r r r s r test_wrong_textz TestShouldAssert.test_wrong_text s "e$$ $ $#e##u $ $ $ $ $ $ $ $ $ $ " " "q66V %! " " " " " " " " " " " " "s( ) ) ) A "AA N)__name__ __module____qualname__r r r r r r sD L L L " " " " "r! r c e Zd Zd Zd Zd Zd Zd Zd Zd Z d Z d Zd Zd Z d Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d Z"d! Z#d" Z$d# Z%d$ Z&d% Z'd&S