We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190b920 commit b913403Copy full SHA for b913403
tests/test_09_examples_debugging.py
@@ -8,6 +8,10 @@
8
def test_debugging(ctestdir):
9
"""Debugging example
10
"""
11
+ # The debugging example requires the enum module which is has been
12
+ # added to the standard kibrary in Python 3.4. Skip this test if
13
+ # the module is not available.
14
+ _ = pytest.importorskip("enum")
15
with get_example("debugging.py").open("rt") as f:
16
ctestdir.makepyfile(f.read())
17
result = ctestdir.runpytest("--verbose")
0 commit comments