[New-bugs-announce] [issue34754] test_flush_return_value fails on FreeBSD

Berker Peksag report at bugs.python.org
Thu Sep 20 11:43:30 EDT 2018


New submission from Berker Peksag <berker.peksag at gmail.com>:

======================================================================
FAIL: test_flush_return_value (test.test_mmap.MmapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_mmap.py", line 754, in test_flush_return_value
    self.assertRaises(OSError, mm.flush, 1, len(b'python'))
AssertionError: OSError not raised by flush

I think I was relying on the behavior of Linux in that assert, it might be better to run that assert only under Linux.

----------
assignee: berker.peksag
components: Tests
messages: 325890
nosy: berker.peksag, koobs
priority: normal
severity: normal
stage: needs patch
status: open
title: test_flush_return_value fails on FreeBSD
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34754>
_______________________________________


More information about the New-bugs-announce mailing list