We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3312a84 commit 8d3ed4bCopy full SHA for 8d3ed4b
1 file changed
src/pytest_forked/__init__.py
@@ -1,4 +1,6 @@
1
import os
2
+import warnings
3
+
4
import py
5
# we know this bit is bad, but we cant help it with the current pytest setup
6
from _pytest import runner
@@ -102,5 +104,10 @@ def report_process_crash(item, result):
102
104
crash_info=info,
103
105
)
106
107
+ warnings.warn(
108
+ 'pytest-forked xfail support is incomplete at the moment and may '
109
+ 'output a misleading reason message',
110
+ RuntimeWarning,
111
+ )
112
113
return rep
0 commit comments