~jbaker/storm/nose_plugin

« back to all changes in this revision

Viewing changes to tests/helper.py

  • Committer: Jamu Kakar
  • Date: 2009-11-24 18:34:34 UTC
  • mfrom: (340 storm.trunk)
  • mto: This revision was merged to the branch mainline in revision 341.
  • Revision ID: jkakar@kakar.ca-20091124183434-ambkvw9tp2byvjnc
- Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                break
68
68
        is_supported = getattr(self, "is_supported", None)
69
69
        if is_supported is not None and not is_supported():
 
70
            if hasattr(result, "addSkip"):
 
71
                result.startTest(self)
 
72
                result.addSkip(self, "Test not supported")
70
73
            return
71
74
        unittest.TestCase.run(self, result)
72
75