Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/python/test/__pycache__/test_appdirs.cpython-39.pyc
Ðазад
a k�h3 � @ sN d Z zddlmZ W n ey* dZY n0 ddlmZ G dd� dej�ZdS )z' Tests for the data directory support. � )�_appdirsN)�unittestc @ s4 e Zd ZdZesdZdd�dd�Zdd�dd�ZdS ) �AppdirsTestsz Tests for L{_appdirs}. zappdirs package not installedN)�returnc C s t �� }| �|�d�� dS )z� Calling L{appdirs.getDataDirectory} will return a user data directory in the system convention, with the module of the caller as the subdirectory. z twisted.python.test.test_appdirsN�r ZgetDataDirectoryZ assertTrue�endswith��self�res� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/python/test/test_appdirs.py�test_moduleName s zAppdirsTests.test_moduleNamec C s t �d�}| �|�d�� dS )z� Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will make a data directory with that name instead. zfoo.bar.bazNr r r r r �test_manual"