a 5dg,@sjddlZddlmZddlZddlZddlZddlmZeedZGdddej Z e dkrfe dS)N)support)path startfilec@s,eZdZddZeedddZdS)TestCasecCs|ttddS)Nznonexisting.vbs)Z assertRaisesOSErrorr)selfr//usr/local/lib/python3.9/test/test_startfile.pytest_nonexistingszTestCase.test_nonexistingzAstarting files is not supported on Windows IoT Core or nanoservercCsZtttj4tttd}t|t|dWdn1sL0YdS)Nz empty.vbsopen) rZ change_cwdrdirnamesys executablejoin__file__r)remptyrrr test_emptyszTestCase.test_emptyN) __name__ __module__ __qualname__r unittestZskipIfplatformZ win32_is_iotrrrrr rsr__main__) rtestrosrr rZ get_attributerrrmainrrrr  s