~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_hashcache.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:46:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908184629-e3fc4c61ca21508c
pychecker is on crack; go back to using 'is None'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
    def test_hashcache_raise(self):
113
113
        """check that hashcache can raise BzrError"""
114
114
        hc = self.make_hashcache()
115
 
        if getattr(os, 'mkfifo', None) == None:
 
115
        if getattr(os, 'mkfifo', None) is None:
116
116
            raise TestSkipped('filesystem fifos not supported on this system')
117
117
        os.mkfifo('a')
118
118
        # It's possible that the system supports fifos but the filesystem