
    
d                     l   d Z ddlZddlZddlZddlmZmZmZmZ ddl	m
Z
  G d de          Zej                            e
p
ej        dk    d	          ej                            ej        d
k    oej        dd         dk    d	          d                         Zedk    r ej                     dS dS )z
Tests for dochelpers.py
    N)	getargtxtgetdocgetobj	isdefined)PY2c                       e Zd ZddZdS )Test   c                     d S )N )selfxys      Jlib/python3.11/site-packages/spyder_kernels/utils/tests/test_dochelpers.pymethodzTest.method   s        N)r
   )__name__
__module____qualname__r   r   r   r   r	   r	      s(             r   r	   ntzOnly works on Linux and Mac)reasondarwinr
   )      zFails on Mac with Python 3.8c                     t          t          j                  ddgk    sJ t          t          j                  rJ t	          t
                    dddddk    sJ t          t
                    rJ t          dd	
          sJ t          d          sJ t          dd	
          rJ t          d          dk    sJ t          d          rJ t          d          dk    sJ t          d          dk    sJ dS )zTest dochelpers.zx, zy=2zFunction of builtins modulez(...)zReturn a new list containing all items from the iterable in ascending order.

A custom key function can be supplied to customize the sort order, and the
reverse flag can be set to request the result in descending order.sorted)noteargspec	docstringnamez
numpy.takeT)force_import
__import__zzzglobalszglobals().keysz+scipy.signal.zscipy.signalz4.4N)r   r	   r   __init__r   r   r   r   r   r   r   test_dochelpersr'      s1    T[!!eU^3333'''''&>>-)
 	 	 	 	 	 	      \555555\"""""T222222)	))))&'''''"##~5555$<<3r   __main__)__doc__ossyspytestspyder_kernels.utils.dochelpersr   r   r   r   spyder_kernels.py3compatr   objectr	   markskipifr    platformversion_infor'   r   mainr   r   r   <module>r5      s]   
 
			 



 8 8 8 8 8 8 8 8 8 8 8 8 ( ( ( ( ( (    6   
 27d?#@  B BLH?!1"1"!5!?)  + + + +B B
6 zFKMMMMM r   