We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7206ed1 + 0b34f50 commit 2e58a9aCopy full SHA for 2e58a9a
docs/concepts/key_concepts.md renamed to docs/concepts/key-concepts.md
docs/index.rst
@@ -6,7 +6,6 @@
6
:parser: myst_parser.sphinx_
7
8
.. toctree::
9
- :maxdepth: 2
10
:caption: Key Concepts
11
:glob:
12
:hidden:
pytest-embedded/pytest_embedded/plugin.py
@@ -1,3 +1,4 @@
1
+import argparse
2
import contextlib
3
import dbm
4
import functools
@@ -9,7 +10,6 @@
import os
import shelve
import subprocess
-import sys
13
import tempfile
14
import typing as t
15
import xml.dom.minidom
@@ -295,8 +295,7 @@ def _gte_one_int(v) -> int:
295
if v >= 1:
296
return v
297
298
- print('"count" value should be a integer greater or equal to 1')
299
- sys.exit(1)
+ raise argparse.ArgumentTypeError('should be a integer greater or equal to 1')
300
301
302
def _str_bool(v: str) -> t.Union[bool, str, None]:
0 commit comments