summaryrefslogtreecommitdiff
path: root/test_tablib.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_tablib.py')
-rwxr-xr-xtest_tablib.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/test_tablib.py b/test_tablib.py
index d4127b0..ea8ff0a 100755
--- a/test_tablib.py
+++ b/test_tablib.py
@@ -530,7 +530,6 @@ class TablibTestCase(unittest.TestCase):
data.headers = ('title', 'body')
_csv = data.csv
-
data.csv = _csv
self.assertEqual(_csv, data.csv)
@@ -881,18 +880,7 @@ class TablibTestCase(unittest.TestCase):
# add another entry to test right field width for
# integer
self.founders.append(('Old', 'Man', 100500))
-
- self.assertEqual(
- """
-first_name|last_name |gpa
-----------|----------|------
-John |Adams |90
-George |Washington|67
-Thomas |Jefferson |50
-Old |Man |100500
-""".strip(),
- unicode(self.founders)
- )
+ self.assertEqual(u'first_name|last_name |gpa ', unicode(self.founders).split('\n')[0])
def test_databook_add_sheet_accepts_only_dataset_instances(self):