Merge remote-tracking branch 'upstream/master' into merge-master-into-features

This commit is contained in:
Bruno Oliveira
2017-11-10 18:33:02 -02:00
43 changed files with 493 additions and 481 deletions

View File

@@ -30,10 +30,10 @@ class TestWarningsRecorderChecker(object):
assert len(rec.list) == 2
warn = rec.pop()
assert str(warn.message) == "hello"
l = rec.list
values = rec.list
rec.clear()
assert len(rec.list) == 0
assert l is rec.list
assert values is rec.list
pytest.raises(AssertionError, "rec.pop()")
def test_typechecking(self):