python (3.11.7)
    e+Y                     (   d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlm
Z
 dd	Z G d
 d          Z G d d
eej                  Z G d de          Z G d dej                  Zedk    r ej                     dS dS )z3
Tests common to genericpath, ntpath and posixpath
    N)
is_emscripten)	os_helper)warnings_helper)assert_python_ok)FakePath   fooc                     t          | dd          5 }|                    |           d d d            d S # 1 swxY w Y   d S )Nxbr   )openwrite)filenamedatafps      I/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_genericpath.pycreate_filer      s    	
ha	 	  B
                 s   599c                      e Zd Zg dZg Zd Zd Zd Zd Zd Z	 e
j         ee
d          d           e
j        ed	          d
                         Zd Zd Zd
 Zd Zej        d             Z e
j         ee
d          d          d             Zd Zd Zej        d             Z e
j         ee
d          d          d             Zd ZdS )GenericTest)commonprefixgetsizegetatimegetctimegetmtimeexistsisdirisfilec                    | j         | j        z   D ]x}|                     t                    5   t	          | j        |                       |                     d                    | j        j        |                    # 1 swxY w Y   yd S )Nz!{}.{}() did not raise a TypeError)	common_attributes
attributesassertRaises	TypeErrorgetattr
pathmodulefailformat__name__)selfattrs     r   test_no_argumentzGenericTest.test_no_argument   s    *T_<