openbsd-ports/devel/py-guppy/patches/patch-guppy_sets_test_py

16 lines
417 B
Plaintext
Raw Normal View History

$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)