python (3.11.7)
    e+Y                     &   	 d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ ddZ
 G d	 d
          Z G d deej                  Z G d
 de          Z G d dej                  Zedk    r ej                     dS dS )    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_<