diff options
| author | Collin Winter <collinw@gmail.com> | 2007-08-22 21:45:20 (GMT) |
|---|---|---|
| committer | Collin Winter <collinw@gmail.com> | 2007-08-22 21:45:20 (GMT) |
| commit | a65e94c1bf30259e0367d136054328c107ff41da (patch) | |
| tree | 3e52a58cdad9ac85144590d72641e2f065d7382e /Lib/bsddb/test/test_pickle.py | |
| parent | 865ea892018f4ff823496b2d0636c47c7ef06231 (diff) | |
| download | cpython-a65e94c1bf30259e0367d136054328c107ff41da.zip cpython-a65e94c1bf30259e0367d136054328c107ff41da.tar.gz cpython-a65e94c1bf30259e0367d136054328c107ff41da.tar.bz2 | |
Convert raise statements in bsddb.
Diffstat (limited to 'Lib/bsddb/test/test_pickle.py')
| -rw-r--r-- | Lib/bsddb/test/test_pickle.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bsddb/test/test_pickle.py b/Lib/bsddb/test/test_pickle.py index a5ccfa3..66d421c 100644 --- a/Lib/bsddb/test/test_pickle.py +++ b/Lib/bsddb/test/test_pickle.py @@ -48,9 +48,9 @@ class pickleTestCase(unittest.TestCase): #print repr(pickledEgg) rottenEgg = pickle.loads(pickledEgg) if rottenEgg.args != egg.args or type(rottenEgg) != type(egg): - raise Exception, (rottenEgg, '!=', egg) + raise Exception(rottenEgg, '!=', egg) else: - raise Exception, "where's my DBError exception?!?" + raise Exception("where's my DBError exception?!?") self.db.close() self.env.close() |
