Skip to content

Commit 38e7f0b

Browse files
committed
Squashed 'json/' changes from 002ce0f..8c3d56d
8c3d56d Make Python 2.6 disappear. git-subtree-dir: json git-subtree-split: 8c3d56df71754e6b1fd4c5e48e93e4047840bbe5
1 parent 621e253 commit 38e7f0b

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

bin/jsonschema_suite

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
11
#! /usr/bin/env python
22
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
194
import errno
205
import fnmatch
216
import json
227
import os
238
import random
249
import shutil
10+
import sys
11+
import textwrap
2512
import unittest
2613
import warnings
2714

0 commit comments

Comments
 (0)