Author r.david.murray
Recipients Alex.LordThorsen, ghaering, jim_minter, r.david.murray
Date 2015-05-18.01:00:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
All lines need to be wrapped to <80 columns.

The idea behind the loop is this:

    sql = "{} INTO test(id, unique_test) VALUES (?, ?)"'INSERT OR REPLACE, (1, "foo")
    for statement in ["INSERT OR REPLACE", "REPLACE"]:
        with self.subTest(statement=statement):
  , (1, "foo"))
            self.assertEqual(, 1) 

What this does is run *both* tests, even if one fails, and reports the results separately (labeled with 'statement='INSERT OR REPLACE', ect).
Date User Action Args
2015-05-18 01:00:34r.david.murraysetrecipients: + r.david.murray, ghaering, jim_minter, Alex.LordThorsen
2015-05-18 01:00:34r.david.murraysetmessageid: <>
2015-05-18 01:00:34r.david.murraylinkissue16864 messages
2015-05-18 01:00:33r.david.murraycreate