Dean Moldovan 665e8804f3 Simplify tests by replacing output capture with asserts where possible
The C++ part of the test code is modified to achieve this. As a result,
this kind of test:

```python
with capture:
    kw_func1(5, y=10)
assert capture == "kw_func(x=5, y=10)"
```

can be replaced with a simple:

`assert kw_func1(5, y=10) == "x=5, y=10"`
2016-08-19 13:19:38 +02:00
..
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00