14
0
forked from pool/python-ujson

- Do not depend on unittest2 it is not needed:

* no-unittest2.patch
- Really execute the tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2018-08-10 11:16:17 +00:00
committed by Git OBS Bridge
parent 4118f8c8fd
commit 3540a5ffd0
3 changed files with 33 additions and 17 deletions

16
no-unittest2.patch Normal file
View File

@@ -0,0 +1,16 @@
Index: ujson-1.35/tests/tests.py
===================================================================
--- ujson-1.35.orig/tests/tests.py
+++ ujson-1.35/tests/tests.py
@@ -11,10 +11,7 @@ import json
import math
import time
import pytz
-if six.PY2:
- import unittest2 as unittest
-else:
- import unittest
+import unittest
import ujson