mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
13 lines
284 B
Python
13 lines
284 B
Python
import pytest
|
|
|
|
import windows
|
|
import windows.generated_def as gdef
|
|
|
|
from pfwtest import *
|
|
|
|
pytestmark = pytest.mark.usefixtures('check_for_gc_garbage')
|
|
|
|
|
|
def test_createfileA_fail():
|
|
with pytest.raises(WindowsError) as ar:
|
|
windows.winproxy.CreateFileA("NONEXISTFILE.FILE") |