implements bags, so we can pass arbitrary args/kwargs to functions.

This commit is contained in:
Romain Dorgueil
2016-12-25 12:40:28 +01:00
parent 9c4ec68b18
commit a3adb044bf
19 changed files with 151 additions and 120 deletions

View File

@ -5,8 +5,7 @@ class MyThingWithStats(WithStatistics):
def get_stats(self, *args, **kwargs):
return (
('foo', 42),
('bar', 69),
)
('bar', 69), )
def test_with_statistics():