Blame python-arrow-remove-simplejson-test.patch
|
|
cd76032 |
From 17364a0e61b64811271a2015d9a42f7b1e424de2 Mon Sep 17 00:00:00 2001
|
|
|
cd76032 |
From: Ralph Bean <rbean@redhat.com>
|
|
|
cd76032 |
Date: Wed, 27 Jul 2016 16:34:20 -0400
|
|
|
cd76032 |
Subject: [PATCH] Remove simplejson test.
|
|
|
cd76032 |
|
|
|
cd76032 |
---
|
|
|
cd76032 |
tests/arrow_tests.py | 7 -------
|
|
|
cd76032 |
1 file changed, 7 deletions(-)
|
|
|
cd76032 |
|
|
|
cd76032 |
diff --git a/tests/arrow_tests.py b/tests/arrow_tests.py
|
|
|
cd76032 |
index 7735b20..57b24d9 100644
|
|
|
cd76032 |
--- a/tests/arrow_tests.py
|
|
|
cd76032 |
+++ b/tests/arrow_tests.py
|
|
|
cd76032 |
@@ -6,7 +6,6 @@ from chai import Chai
|
|
|
cd76032 |
|
|
|
cd76032 |
from datetime import date, datetime, timedelta
|
|
|
cd76032 |
from dateutil import tz
|
|
|
cd76032 |
-import simplejson as json
|
|
|
cd76032 |
import calendar
|
|
|
cd76032 |
import pickle
|
|
|
cd76032 |
import time
|
|
|
cd76032 |
@@ -402,12 +401,6 @@ class ArrowDatetimeInterfaceTests(Chai):
|
|
|
cd76032 |
|
|
|
cd76032 |
assertEqual(result, self.arrow._datetime.isoformat())
|
|
|
cd76032 |
|
|
|
cd76032 |
- def test_simplejson(self):
|
|
|
cd76032 |
-
|
|
|
cd76032 |
- result = json.dumps({'v': self.arrow.for_json()}, for_json=True)
|
|
|
cd76032 |
-
|
|
|
cd76032 |
- assertEqual(json.loads(result)['v'], self.arrow._datetime.isoformat())
|
|
|
cd76032 |
-
|
|
|
cd76032 |
def test_ctime(self):
|
|
|
cd76032 |
|
|
|
cd76032 |
result = self.arrow.ctime()
|
|
|
cd76032 |
--
|
|
|
cd76032 |
2.7.4
|
|
|
cd76032 |
|