+
    ^|´i*  ã                   ó@  € ^ RI t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^RIHtH	t	 RR lt
RR ltR tR t]
! ]P                  R8H  R	4      t]
! ]P                  R8g  R
4      t]
! ]P                  P#                  R4      '       * R4      t]P                  R9  ;'       d     ] P&                  P)                  RR4      R8H  tRt]
! ]]4      tR t]! R4      t]! R4      tR t ]P8                  ! RR7      tRt]P?                  4        ]! ]R4      t!R t"R#   ]  d    Rt Li ; i)é    N)Úimport_module)Ú	ipdoctestÚipdocstringc                ó~   € Vf   Rp\        V \        4      '       g   Q h\        P                  P	                  WR7      # )a…  Make function raise SkipTest exception if skip_condition is true

Parameters
----------

skip_condition : bool or callable
  Flag to determine whether to skip test. If the condition is a
  callable, it is used at runtime to dynamically make the decision. This
  is useful for tests that may require costly imports, to delay the cost
  until the test suite is actually executed.
msg : string
  Message to give on raising a SkipTest exception.

Returns
-------
decorator : function
  Decorator, which, when applied to a function, causes SkipTest
  to be raised when the skip_condition was True, and the function
  to be called normally otherwise.
z#Test skipped due to test condition.©Úreason)Ú
isinstanceÚboolÚpytestÚmarkÚskipif)Úskip_conditionÚmsgs   &&Ú</usr/lib/python3/dist-packages/IPython/testing/decorators.pyr   r      s9   € ð* ‚{Ø3ˆän¤d×+Ò+Ð+Ð+Ü;‰;×Ñ˜nÐÓ9Ð9ó    c                ól   € V '       d"   \        V \        4      '       g   \        R4      h\        RV 4      # )a/  Decorator factory - mark a test function for skipping from test suite.

Parameters
----------
  msg : string
    Optional message to be added.

Returns
-------
   decorator : function
     Decorator, which, when applied to a function, causes SkipTest
     to be raised, with the optional message added.
zSinvalid object passed to `@skip` decorator, did you meant `@skip()` with brackets ?T)r	   ÚstrÚ
ValueErrorr   )r   s   &r   Úskipr   *   s4   € ÷ ”:˜c¤3×'Ò'Üð.ó
ð 	
ô $˜ÓÐr   c                ó$   € \        V '       * V4      # )z0The reverse from skipif, see skipif for details.)r   )Ú	conditionr   s   &&r   Úonlyifr   @   s   € ô i”- Ó%Ð%r   c                óJ   €  \        V 4      pRpV#   \         d    Rp T# i ; i)zËCan module be imported?  Returns true if module does NOT import.

This is used to make a decorator to skip tests that require module to be
available, but delay the 'import numpy' to test execution time.
FT)r   Ú	Exception)ÚmoduleÚmodÚmod_not_avails   &  r   Úmodule_not_availabler   H   s<   € ðÜ˜FÓ#ˆØˆð Ðøô ô ð ‰àÐðús   ‚ ‘"¡"Úwin32z$This test does not run under Windowsz!This test only runs under WindowsÚdarwinzThis test only runs under macOSÚDISPLAYÚ z.Skipped under *nix when X11/XOrg not availablec                 ó:   € \        \        V 4      R V ,          4      # )zThis test requires %s)r   r   )r   s   &r   Ú<lambda>r$   q   s   € œ6Ü˜ÓÐ6¸Õ<ôr   ÚnumpyÚ
matplotlibc                 ó   € V # ©N© )Úfs   &r   r$   r$   {   s   € ‘ar   u   tmpâ‚¬)ÚprefixTFzCThis test is only applicable where we can use unicode in filenames.c                 ó¨   € V  FG  pRV R2p\         P                  ! V4      '       d   K'  \        P                  P	                  VR7      u # 	  \
        # )zF
Decorator to skip test when at least one of `commands` is not found.
z This test runs only if command 'z' is installedr   )ÚshutilÚwhichr   r   r   Ú	null_deco)ÚcommandsÚcmdr   s   *  r   Úonlyif_cmds_existr2   Ž   sK   € ó ˆØ3°C°5¸ÐGˆÜ|Š|˜C× Ô Ü—;‘;×#Ñ#¨6Ð#Ó2Ò2ñ ô Ðr   r(   )r    r   )#Úosr-   ÚsysÚtempfileÚ	importlibr   r   Ú
ipunittestr   r   r   r   r   r   ÚplatformÚ
skip_win32Úskip_if_not_win32Ú
startswithÚskip_if_not_osxÚenvironÚgetÚ_x11_skip_condÚ_x11_skip_msgÚskip_if_no_x11Úskip_withoutÚskipif_not_numpyÚskipif_not_matplotlibr/   ÚNamedTemporaryFiler*   Úunicode_pathsÚcloseÚUnicodeEncodeErrorÚonlyif_unicode_pathsr2   r)   r   r   Ú<module>rJ      s?  ðÛ 	Û Û 
Û Ý #ã ÷ /ô:ô<ò,&òñ, C—L‘L GÑ+Ð-SÓT€
ñ ˜3Ÿ<™<¨7Ñ2Ð4WÓXÐ ÙØ‰×Ñ Ó)Ô)Ð+Ló€ð
 ‡LLÐ+Ñ+×SÐS°·
±
·±¸yÈ"Ó0MÐQSÑ0Sð ð A€á˜¨Ó6€ñ
€ñ   Ó(Ð á$ \Ó2Ð ñ €	ðØ×#Ò#¨8Ô4€Að
 €MØ‡GG„IáØØJóÐ ôøð ô Ø‚Mðús   ÃD Ä	DÄD