文件操作 - wrap_matcher.cpython-310.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/hamcrest/core/helpers/__pycache__/wrap_matcher.cpython-310.pyc
编辑文件内容
o (]^� � @ sx d dl mZmZmZ d dlmZ d dlmZ dZdZ dZ ed�Zdeee ef d ee fd d�Zded e fd d�ZdS )� )�Type�TypeVar�Union)�Matcher)�equal_tozJon ReidzCopyright 2011 hamcrest.orgzBSD, see License.txt�T�x�returnc C s t | t�r| S t| �S )z�Wraps argument in a matcher, if necessary. :returns: the argument as-is if it is already a matcher, otherwise wrapped in an :py:func:`~hamcrest.core.core.isequal.equal_to` matcher. )� isinstancer r )r � r �D/usr/lib/python3/dist-packages/hamcrest/core/helpers/wrap_matcher.py�wrap_matcher s r � expected_typec C s t | t�rdS dS )NTF)r �type)r r r r �is_matchable_type s r N)�typingr r r �hamcrest.core.base_matcherr �hamcrest.core.core.isequalr � __author__� __copyright__�__license__r r �boolr r r r r �<module> s "
修改文件时间
将文件时间修改为当前时间的前一年
删除文件