summaryrefslogtreecommitdiff
path: root/json/bin
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2018-11-18 07:49:13 -0500
committerJulian Berman <Julian@GrayVines.com>2018-11-18 07:49:13 -0500
commit2872dd3b7cbae3edefc8850b3c0a93e70f2efc97 (patch)
tree6d3acdb7a18d94431addc231a4c351f4e58a9444 /json/bin
parenta12ebfc56712aa35e6cd059e29334fc0b25dc78a (diff)
parent38e7f0b784a64de4cee9e53dd118fd558fb3bf6e (diff)
downloadjsonschema-2872dd3b7cbae3edefc8850b3c0a93e70f2efc97.tar.gz
Merge commit '38e7f0b784a64de4cee9e53dd118fd558fb3bf6e'
* commit '38e7f0b784a64de4cee9e53dd118fd558fb3bf6e': Squashed 'json/' changes from 002ce0f..8c3d56d
Diffstat (limited to 'json/bin')
-rwxr-xr-xjson/bin/jsonschema_suite19
1 files changed, 3 insertions, 16 deletions
diff --git a/json/bin/jsonschema_suite b/json/bin/jsonschema_suite
index 8817433..11aaa19 100755
--- a/json/bin/jsonschema_suite
+++ b/json/bin/jsonschema_suite
@@ -1,27 +1,14 @@
#! /usr/bin/env python
from __future__ import print_function
-import sys
-import textwrap
-
-try:
- import argparse
-except ImportError:
- print(textwrap.dedent("""
- The argparse library could not be imported. jsonschema_suite requires
- either Python 2.7 or for you to install argparse. You can do so by
- running `pip install argparse`, `easy_install argparse` or by
- downloading argparse and running `python2.6 setup.py install`.
-
- See https://pypi.python.org/pypi/argparse for details.
- """.strip("\n")))
- sys.exit(1)
-
+import argparse
import errno
import fnmatch
import json
import os
import random
import shutil
+import sys
+import textwrap
import unittest
import warnings