~launchpad-committers/storm/lp

« back to all changes in this revision

Viewing changes to storm/tests/mocker.py

  • Committer: Colin Watson
  • Date: 2023-07-06 10:51:34 UTC
  • mfrom: (386.34.138 storm)
  • Revision ID: cjwatson@canonical.com-20230706105134-rzpb4opv8nfpg56r
Merge Storm 0.26 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
310
310
    failUnlessIdentical = failUnlessIs
311
311
    failIfIdentical = failIfIs
312
312
 
 
313
    if sys.version_info < (3, 2):
 
314
        def assertRaisesRegex(self, *args, **kwargs):
 
315
            return self.assertRaisesRegexp(*args, **kwargs)
 
316
 
313
317
 
314
318
# --------------------------------------------------------------------
315
319
# Mocker.