Mercurial > p > roundup > code
diff test/db_test_base.py @ 5753:486824f4455a
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 01 Jun 2019 17:28:33 -0400 |
| parents | 6923225fd781 |
| children | 28141c7dfc19 |
line wrap: on
line diff
--- a/test/db_test_base.py Sat Jun 01 17:26:26 2019 -0400 +++ b/test/db_test_base.py Sat Jun 01 17:28:33 2019 -0400 @@ -1350,6 +1350,9 @@ else: self.assertEqual(len(result), 5) self.assertEqual(result [1][4], jp0) + print(result) # following test fails sometimes under sqlite + # in travis. Looks like an ordering issue + # in python 3.5. Print result to debug. self.assertEqual(result [2][4], jp1) self.assertEqual(result [3][4], jp2) self.assertEqual(result [4][4], jp3)
