From 41c04c75bbd116d8dd509bb96b19c636c26924b2 Mon Sep 17 00:00:00 2001 From: Stefan Bienert <stefan.bienert@unibas.ch> Date: Fri, 12 Oct 2018 15:38:54 +0200 Subject: [PATCH] Use Python's own JSON module for more robust unit testing. Alternative JSON modules may be faster but may also deliver slightly different output concerning whitespaces. --- core/tests/test_pm3argparse.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/tests/test_pm3argparse.py b/core/tests/test_pm3argparse.py index f7e9ff7b..0e0d617c 100644 --- a/core/tests/test_pm3argparse.py +++ b/core/tests/test_pm3argparse.py @@ -5,10 +5,7 @@ Testing our own little argument parser. import unittest import tempfile import gzip -try: - import ujson as json -except ImportError: - import json +import json import ost from promod3.core import pm3argparse -- GitLab