Skip to content

Commit b9d54b3

Browse files
committed
Last fix of docstring escape + trying pytest.mark.xfail
1 parent 60e3d4a commit b9d54b3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383

8484
# Testing
8585
- name: Testing
86-
run: py -${{ matrix.python-version}}-${{ matrix.python-bitness-to-test}} -m pytest --junitxml=junit/test-results.xml -s -k "not known_to_fail" -v tests/
86+
run: py -${{ matrix.python-version}}-${{ matrix.python-bitness-to-test}} -m pytest --junitxml=junit/test-results.xml -s -v tests/
8787

8888
- name: Publish PyTest Results
8989
uses: EnricoMi/publish-unit-test-result-action/windows@v2

tests/test_remotectypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_remote_struct_same_bitness():
2929

3030
# This test fails for now. (0.6)
3131
# Should I improve remote ctypes to handel this ?
32-
@pytest.mark.known_to_fail
32+
@pytest.mark.xfail
3333
def test_remote_long_ptr():
3434
# Bug thatwas in retrieving of NtCreateFile arguments
3535
target = windows.current_process

tests/test_scheduled_tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import windows
66
import windows.generated_def as gdef
77

8-
SCHTASKS = "c:\Windows\System32\schtasks.exe"
8+
SCHTASKS = r"c:\Windows\System32\schtasks.exe"
99

1010
task_scheduler = windows.system.task_scheduler
1111

@@ -28,9 +28,9 @@ def schtasks_task_exists(taskname):
2828
raise
2929

3030
SCHEDULED_TASK_PARAMS = [
31-
{"DIR": "", "NAME": "PFW_TEST1", "PATH": '"c:\windows\system32\notepad.exe"', "ARGS": "PFW_TEST_PARAM.txt"},
31+
{"DIR": "", "NAME": "PFW_TEST1", "PATH": r'"c:\windows\system32\notepad.exe"', "ARGS": "PFW_TEST_PARAM.txt"},
3232
# Test in subdir
33-
{"DIR": "PFW_TEST_DIR", "NAME": "PFW_TEST1", "PATH": '"c:\windows\system32\notepad.exe"', "ARGS": "PFW_TEST_PARAM.txt"}
33+
{"DIR": "PFW_TEST_DIR", "NAME": "PFW_TEST1", "PATH": r'"c:\windows\system32\notepad.exe"', "ARGS": "PFW_TEST_PARAM.txt"}
3434
]
3535

3636

0 commit comments

Comments
 (0)