Skip to content

Commit 6fa3d48

Browse files
committed
Dump results of test. Getting intermittent failure from
testJournalNonexistingProperty test when running against sqlite database. This may be a sort issue if sorting by date of journal entry, there may not be enough precision to sort consistently. It only occurs in 3.5 python so there may be something there as well.
1 parent c51a019 commit 6fa3d48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/db_test_base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,9 @@ def testJournalNonexistingProperty(self):
13501350
else:
13511351
self.assertEqual(len(result), 5)
13521352
self.assertEqual(result [1][4], jp0)
1353+
print(result) # following test fails sometimes under sqlite
1354+
# in travis. Looks like an ordering issue
1355+
# in python 3.5. Print result to debug.
13531356
self.assertEqual(result [2][4], jp1)
13541357
self.assertEqual(result [3][4], jp2)
13551358
self.assertEqual(result [4][4], jp3)

0 commit comments

Comments
 (0)