python (3.12.0)
Αe+Y " d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
ddZ G d d
Z G d deej Z G d
de Z G d dej Zedk( r ej* yy)z3
Tests common to genericpath, ntpath and posixpath
N)
is_emscripten) os_helper)warnings_helper)assert_python_ok)FakePathc j t | dd 5 }|j | d d d y # 1 sw Y y xY w)Nxbr )openwrite)filenamedatafps I/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_genericpath.pycreate_filer s0
ha B
s )2c 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 Zy)GenericTest)commonprefixgetsizegetatimegetctimegetmtimeexistsisdirisfilec " | j | j z D ]g }| j t 5 t | j
| | j
dj | j
j | y # 1 sw Y txY w)Nz!{}.{}() did not raise a TypeError) common_attributes
attributesassertRaises TypeErrorgetattr
pathmodulefailformat__name__)selfattrs r test_no_argumentzGenericTest.test_no_argument s **T__<