aboutsummaryrefslogtreecommitdiffstats
path: root/test_json_diff.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-11-01 14:37:25 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-11-01 14:37:25 +0100
commit3402623cd692bcbdb5e92125fb8b99291908f74f (patch)
treefd970774bb0f8d041458aaed77ef552acd889d35 /test_json_diff.py
parente10506226abbca14ebe99c987feb155f1253abec (diff)
downloadjson_diff-3402623cd692bcbdb5e92125fb8b99291908f74f.tar.gz
Making the script slightly more future-proof.
use from __future__ import division, absolute_import use argparse instead of optparse
Diffstat (limited to 'test_json_diff.py')
-rw-r--r--test_json_diff.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test_json_diff.py b/test_json_diff.py
index 21faf70..246a29d 100644
--- a/test_json_diff.py
+++ b/test_json_diff.py
@@ -2,6 +2,7 @@
"""
PyUnit unit tests
"""
+from __future__ import division, absolute_import
import unittest
import json
import json_diff
@@ -145,4 +146,4 @@ class TestSadPath(unittest.TestCase):
if __name__ == "__main__":
- unittest.main() \ No newline at end of file
+ unittest.main()