File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
pytest-embedded/pytest_embedded Expand file tree Collapse file tree 3 files changed +2
-4
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 66 :parser: myst_parser.sphinx _
77
88.. toctree ::
9- :maxdepth: 2
109 :caption: Key Concepts
1110 :glob:
1211 :hidden:
Original file line number Diff line number Diff line change 1+ import argparse
12import contextlib
23import dbm
34import functools
910import os
1011import shelve
1112import subprocess
12- import sys
1313import tempfile
1414import typing as t
1515import xml .dom .minidom
@@ -295,8 +295,7 @@ def _gte_one_int(v) -> int:
295295 if v >= 1 :
296296 return v
297297
298- print ('"count" value should be a integer greater or equal to 1' )
299- sys .exit (1 )
298+ raise argparse .ArgumentTypeError ('should be a integer greater or equal to 1' )
300299
301300
302301def _str_bool (v : str ) -> t .Union [bool , str , None ]:
You can’t perform that action at this time.
0 commit comments