openbsd-ports/devel/py-guppy/patches/patch-guppy_sets_test_py
kili bcd51e60e0 Guppy-PE is a library and programming environment for Python,
currently providing in particular the Heapy subsystem, which supports
object and heap memory sizing, profiling and debugging. It also
includes a prototypical specification language, the Guppy Specification
Language (GSL), which can be used to formally specify aspects of
Python programs and generate tests and documentation from a common
source.

ok rpointel@
2011-11-17 17:12:11 +00:00

16 lines
417 B
Plaintext

$OpenBSD: patch-guppy_sets_test_py,v 1.1.1.1 2011/11/17 17:12:11 kili Exp $
Python-2.7 fix from upstream svn.
--- guppy/sets/test.py.orig Tue Jun 23 15:48:32 2009
+++ guppy/sets/test.py Wed Nov 16 16:11:13 2011
@@ -892,7 +892,7 @@ MutBitSet([])
except OverflowError:
pass
else:
- raise 'expected ValueError'
+ raise 'expected OverflowError'
tsv(bitset([maxint]), 1)
tsv(bitset([minint]), -1)