Skip to content

Commit d5a7aed

Browse files
committed
Remove ununsed imports and variables
1 parent 71bdeed commit d5a7aed

File tree

5 files changed

+1
-7
lines changed

5 files changed

+1
-7
lines changed

bin/jsondiff

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from __future__ import print_function
55

66
import sys
7-
import os.path
87
import json
98
import jsonpatch
109
import argparse

ext_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
""" Script to run external tests, eg from
3535
https://github.com/json-patch/json-patch-tests """
3636

37-
from functools import partial
3837
import doctest
3938
import unittest
4039
import jsonpatch

jsonpatch.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
import collections
3838
import copy
3939
import functools
40-
import inspect
41-
import itertools
4240
import json
4341
import sys
4442

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
import sys
54
import io
65
import re
7-
import warnings
86
try:
97
from setuptools import setup
108
has_setuptools = True

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_issue40(self):
366366

367367
src = [8, 7, 2, 1, 0, 9, 4, 3, 5, 6]
368368
dest = [7, 2, 1, 0, 9, 4, 3, 6, 5, 8]
369-
patch = jsonpatch.make_patch(src, dest)
369+
jsonpatch.make_patch(src, dest)
370370

371371
def test_issue76(self):
372372
""" Make sure op:remove does not include a 'value' field """

0 commit comments

Comments
 (0)