3
���h� � @ s d Z ddlmZ dd� ZdS )z(Tests that the tslibs API is locked down� )�tslibsc C s� ddddddddd d
ddd
dddg} dddddddddddddddd d!d"d#d$d%d&d'd(g}t | | �}d)d*� tt�D �}t |�|ks�t�d S )+N�baseZ ccalendar�
conversionZdtypes�fieldsZnattypeZnp_datetime�offsetsZparsingZperiod�strptimeZ
vectorizedZ
timedeltasZ
timestampsZ timezonesZtzconversionZ
BaseOffsetZNaTZNaTTypeZiNaTZis_null_datetimelikeZnat_stringsZOutOfBoundsDatetimeZOutOfBoundsTimedeltaZPeriodZIncompatibleFrequencyZ
ResolutionZTickZ TimedeltaZdt64arr_to_periodarrZ TimestampZis_date_array_normalizedZints_to_pydatetimeZnormalize_i8_timestampsZget_resolutionZdelta_to_nanosecondsZints_to_pytimedeltaZlocalize_pydatetimeZtz_convert_from_utc_singleZ to_offsetc S s g | ]}|j d �s|�qS )�__)�
startswith)�.0�x� r �>/tmp/pip-build-5_djhm0z/pandas/pandas/tests/tslibs/test_api.py�
<listcomp>7 s z"test_namespace.<locals>.<listcomp>)�set�dirr �AssertionError)Z
submodules�api�expected�namesr r r
�test_namespace sV r N)�__doc__Zpandas._libsr r r r r r
�<module> s |