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:
committed by
Git OBS Bridge
parent
4118f8c8fd
commit
3540a5ffd0
16
no-unittest2.patch
Normal file
16
no-unittest2.patch
Normal 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
|
||||
|
Reference in New Issue
Block a user