openbsd-ports/devel/py-guppy/patches/patch-guppy_heapy_Part_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
503 B
Plaintext

$OpenBSD: patch-guppy_heapy_Part_py,v 1.1.1.1 2011/11/17 17:12:11 kili Exp $
Python-2.7 fix from upstream svn.
--- guppy/heapy/Part.py.orig Fri Jun 12 12:21:05 2009
+++ guppy/heapy/Part.py Wed Nov 16 16:11:13 2011
@@ -702,7 +702,7 @@ class SetPartition(Partition):
for (minusize, name, kind, part) in tosort:
size = -minusize
cumulsize += size
- assert size == part.size
+ # assert size == part.size
rows.append(PartRow(
part.count, size, name,
len(rows), cumulsize,