diff options
Diffstat (limited to 'test/test_argparse.py')
-rw-r--r-- | test/test_argparse.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_argparse.py b/test/test_argparse.py index 6c3d765..9cc818b 100644 --- a/test/test_argparse.py +++ b/test/test_argparse.py @@ -3,7 +3,11 @@ import pytest -from ruamel.std.argparse import argparse, CountAction, SmartFormatter +try: + from ruamel.std.argparse import argparse, CountAction, SmartFormatter +except ImportError: + print("you have to install ruamel.std.argparse to run the tests") + from textwrap import dedent |