File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env python
2
2
from __future__ import print_function
3
- import sys
4
- import textwrap
5
-
6
- try :
7
- import argparse
8
- except ImportError :
9
- print (textwrap .dedent ("""
10
- The argparse library could not be imported. jsonschema_suite requires
11
- either Python 2.7 or for you to install argparse. You can do so by
12
- running `pip install argparse`, `easy_install argparse` or by
13
- downloading argparse and running `python2.6 setup.py install`.
14
-
15
- See https://pypi.python.org/pypi/argparse for details.
16
- """ .strip ("\n " )))
17
- sys .exit (1 )
18
-
3
+ import argparse
19
4
import errno
20
5
import fnmatch
21
6
import json
22
7
import os
23
8
import random
24
9
import shutil
10
+ import sys
11
+ import textwrap
25
12
import unittest
26
13
import warnings
27
14
You can’t perform that action at this time.
0 commit comments