Commit 658bb30
committed
add a unit test for pickling and unpickling databases
since `Database` does not provide a comparison operator, we compare
the `repr()` strings of the fresh and the unpickled database.
thanks to [at]kayoub5 for suggesting this.
Signed-off-by: Andreas Lauser <[email protected]>1 parent 4704f74 commit 658bb30
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments