HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/twisted/python/test/__pycache__/test_appdirs.cpython-312.pyc
�

Ϫ�f3��f�dZ	ddlmZddlmZGd�dej�Zy#e$rdZY�%wxYw)z'
Tests for the data directory support.
�)�_appdirsN)�unittestc�(�eZdZdZesdZdd�Zdd�Zy)�AppdirsTestsz 
    Tests for L{_appdirs}.
    zappdirs package not installedNc�l�tj�}|j|jd��y)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�getDataDirectory�
assertTrue�endswith��self�ress  �B/usr/lib/python3/dist-packages/twisted/python/test/test_appdirs.py�test_moduleNamezAppdirsTests.test_moduleNames(���'�'�)��������%G�H�I�c�n�tjd�}|j|jd��y)z�
        Calling L{appdirs.getDataDirectory} with a C{moduleName} argument will
        make a data directory with that name instead.
        zfoo.bar.bazNrrs  r�test_manualzAppdirsTests.test_manual"s)��
�'�'�
�6��������]�3�4r)�returnN)�__name__�
__module__�__qualname__�__doc__r�skiprr�rrrrs����.��J�5rr)r�twisted.pythonr�ImportError�
twisted.trialr�TestCaserrrr�<module>rs?���
�'�#�5�8�$�$�5��
���H��s�&�0�0