pycallgraph
pycallgraph copied to clipboard
Tests are failing
Hi, I am not able to run the tests. Do you know, what is wrong?
` def init(self, **kwargs): self.node_color_func = self.node_color self.edge_color_func = self.edge_color self.node_label_func = self.node_label self.edge_label_func = self.edge_label
# Update the defaults with anything from kwargs
[setattr(self, k, v) for k, v in kwargs.iteritems()]
E AttributeError: 'dict' object has no attribute 'iteritems'
pycallgraph/output/output.py:19: AttributeError `
that test is written in python 2, it should work in python 3 if you rewrite it using items:
[setattr(self, k, v) for k, v in kwargs.items()]