follow up to bug 1007 commit.
Use self.assertTrue in test cases rather than the assert statement.
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py
index d3eda84..d1cac1d 100644
--- a/Lib/test/test_whichdb.py
+++ b/Lib/test/test_whichdb.py
@@ -35,9 +35,9 @@
f = module.open(_fname, 'w')
f[b"1"] = b"1"
# and test that we can find it
- assert b"1" in f
+ self.assertTrue(b"1" in f)
# and read it
- assert f[b"1"] == b"1"
+ self.assertTrue(f[b"1"] == b"1")
f.close()
self.assertEqual(name, whichdb.whichdb(_fname))