관리-도구
편집 파일: test_symbolic.cpython-311.pyc
� �܋f�G � � � d dl Z d dlmZmZmZmZmZmZmZm Z m Z mZmZm Z mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZ G d� dej � � Z dS )� N)�Expr�Op�ArithOp�Language� as_symbol� as_number� as_string�as_array� as_complex�as_terms� as_factors�eliminate_quotes� insert_quotes� fromstring�as_expr�as_apply�as_numer_denom� as_ternary�as_ref�as_deref� normalize�as_eq�as_ne�as_lt�as_gt�as_le�as_ge� )�utilc �P � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zd� Z dS ) �TestSymbolicc �� � d� }dD ]e} ||dz � � ||dz |z dz � � ||dz � � ||dz |z dz � � ||dz � � |d |z d z � � �fd S )Nc �Z � t | � � \ }}t ||� � }|| k sJ �d S �N)r r )�s�r�d�s1s �q/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/f2py/tests/test_symbolic.py�workerz2TestSymbolic.test_eliminate_quotes.<locals>.worker% s3 � �#�A�&�&�D�A�q��q�!�$�$�B���7�7�7�7�7�7� )� �mykind_z"1234" // "ABCD"z "1234" // z"ABCD"z"1234" // 'ABCD'z'ABCD'z"1\"2'AB'34"za = z'1\'2"AB"34'� )�selfr* �kinds r) �test_eliminate_quotesz"TestSymbolic.test_eliminate_quotes$ s� � � � � � $� 6� 6�D��F�4�,�,�-�-�-��F�4�,�&��-��8�9�9�9��F�4�.�.�/�/�/��F�4�,�&��-��8�9�9�9��F�4�+�+�,�,�,��F�6�D�=�#4�4�5�5�5�5� 6� 6r+ c �( � t d� � }t d� � }t d� � }|j t j k sJ �t |� � dk sJ �||k sJ �||k sJ �t |� � �J �t d� � }t d� � }|j t j k sJ �t |� � dk sJ �||k sJ �||k sJ �t |� � �J �t d� � }t d � � }|j t j k sJ �t |� � d k sJ �||k sJ �||k sJ �t |� � �J �t dd� � }t d d� � } |j t j k sJ �t |� � dk sJ �||k sJ �|| k sJ �t |� � �J �t d� � } t d� � }| j t j k sJ �t | � � dk sJ t | � � � � �| | k sJ �| |k sJ �t ||f� � }t |f� � } |j t j k sJ �t |� � dk sJ �||k sJ �|| k sJ �t |� � }t |� � }|j t j k sJ �t |� � dk sJ �||k sJ �||k sJ �t |� � �J �t# |� � }t# |� � }|j t j k sJ �t |� � dk sJ �||k sJ �||k sJ �t |� � �J �t'