Commit 3c1c9f41 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 313bc6ab
...@@ -319,7 +319,7 @@ func (bf *zBigFileState) PySetState(pystate interface{}) (err error) { ...@@ -319,7 +319,7 @@ func (bf *zBigFileState) PySetState(pystate interface{}) (err error) {
return fmt.Errorf("expect [2](); got [%d]()", len(t)) return fmt.Errorf("expect [2](); got [%d]()", len(t))
} }
// blksize, ok := pickletools.Xint64(t[0]) // XXX reenable (pickletools) blksize, ok := zodbpickle.Xint64(t[0]) // XXX reenable (pickletools)
if !ok { if !ok {
return fmt.Errorf("blksize: expect integer; got %T", t[0]) return fmt.Errorf("blksize: expect integer; got %T", t[0])
} }
...@@ -329,7 +329,7 @@ func (bf *zBigFileState) PySetState(pystate interface{}) (err error) { ...@@ -329,7 +329,7 @@ func (bf *zBigFileState) PySetState(pystate interface{}) (err error) {
return fmt.Errorf("blktab: expect LOBTree; got %T", t[1]) return fmt.Errorf("blktab: expect LOBTree; got %T", t[1])
} }
bf.blksize = 0 // XXX blksize bf.blksize = blksize
bf.blktab = blktab bf.blktab = blktab
return nil return nil
} }
......
...@@ -96,11 +96,6 @@ func TestZBlk(t *testing.T) { ...@@ -96,11 +96,6 @@ func TestZBlk(t *testing.T) {
// XXX
_, _, _ = z0, z1, zf
_ = xactivate
/*
xactivate(zf) xactivate(zf)
if zf.blksize != blksize { if zf.blksize != blksize {
t.Fatalf("zf: blksize=%d; want %d", zf.blksize, blksize) t.Fatalf("zf: blksize=%d; want %d", zf.blksize, blksize)
...@@ -108,6 +103,5 @@ func TestZBlk(t *testing.T) { ...@@ -108,6 +103,5 @@ func TestZBlk(t *testing.T) {
// XXX zf.blktab.Get(0) -> z0 // XXX zf.blktab.Get(0) -> z0
// XXX zf.blktab.Get(1) -> z1 // XXX zf.blktab.Get(1) -> z1
*/
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment