-
`platform linux -- Python 3.7.6, pytest-5.3.4, py-1.6.0, pluggy-0.12.0`
I am using IPython with jedi completions within a pytest session. Assertion rewriting is enabled, but doing completions on re…
iwanb updated
4 years ago
-
This follows on from #44.
## Stage 3: Object-oriented structure
We will now look at at how to represent and manipulate this data using our own user-defined **objects**.
Instead of a dictionar…
-
Maybe `Comment.contents` or `Comment.text`?
-
In the standard libraries we have [a helper function](https://github.com/dafny-lang/dafny/blob/f81c316e1c3eb9de136c635f9d660bb1de3d3dbe/Source/DafnyStandardLibraries/examples/Helpers.dfy#L9) to both `…
-
In some cases the number of index columns actually needed to fit all category header and index item lines does not match the pre-calculated estimate we get from `_compute_column_occupation()` and `_co…
-
How do I reliably extract the final value from a reduce operation
eg
let numItems = -1
_([1, 2, 3]).reduce(0, (acc, value) => acc + 1).each(x => numItems = x)
This works for this simple exam…
-
Opening this issue, as suggested by Martin, to provide a place to discuss the individual warts brought up in the blog post [Warts of the Scala Programming Language](http://www.lihaoyi.com/post/Wartsof…
-
one downside of fluent assertion libs like strikt compared to simple assertEquals(a,b) is that its possible to write assertions that can never fail.
for example this code that tries to assert on a …
-
When stubbing a class method that returns boolean on a class mock, an error occurs when trying to set the return value.
ExampleClass has a method with the following signature:
```
+ (BOOL)booleanCla…
-
Came from:
* https://twitter.com/webdevilopers/status/1204375222343720960
Recently I started a symfony project w/ @prooph components. Looking at the bluebrints I recognized the creation of events …