~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_hashcache.py

Merge bzr.dev

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 not hasattr(os, 'mkfifo'):
 
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