We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2bab38 + 11ce3e8 commit a8b7229Copy full SHA for a8b7229
2 files changed
src/pytest_codeblocks/__about__.py
@@ -1 +1 @@
1
-__version__ = "0.16.0"
+__version__ = "0.16.1"
src/pytest_codeblocks/plugin.py
@@ -41,6 +41,13 @@ def collect(self):
41
out.obj = block
42
43
for mark in block.marks:
44
+ # A common thing is
45
+ #
46
+ # pytest.mark.skipif(sys.version_info < (3, 10), reason="...")
47
48
+ # which needs sys. Import it here.
49
+ import sys
50
+
51
out.add_marker(eval(mark))
52
53
yield out
0 commit comments