Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Tests are failing #161

Open
Krejdom opened this issue Sep 5, 2016 · 1 comment
Open

Tests are failing #161

Krejdom opened this issue Sep 5, 2016 · 1 comment

Comments

@Krejdom
Copy link

Krejdom commented Sep 5, 2016

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
`

@asl97
Copy link

asl97 commented Sep 5, 2016

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()]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants