diff options
| author | Caroline Leman <caroline.leman@cea.fr> | 2015-08-21 10:53:49 +0200 |
|---|---|---|
| committer | Caroline Leman <caroline.leman@cea.fr> | 2015-08-24 14:44:07 +0200 |
| commit | 2a58bb46e9b6a6e472299b07bb11c6b636ff1939 (patch) | |
| tree | b38f0f0ccb39840c597b4a033639e8884e236512 /test | |
| parent | 006159e2092bcf1222830a5702169f88d17eecdc (diff) | |
| download | miasm-2a58bb46e9b6a6e472299b07bb11c6b636ff1939.tar.gz miasm-2a58bb46e9b6a6e472299b07bb11c6b636ff1939.zip | |
Analysis/Depgraph: Coding convention and cleanups
Diffstat (limited to 'test')
| -rw-r--r-- | test/analysis/depgraph.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py index 00b17760..90f2962c 100644 --- a/test/analysis/depgraph.py +++ b/test/analysis/depgraph.py @@ -13,7 +13,6 @@ try: import z3 except ImportError: EMULATION=False - pass STEP_COUNTER = count() A = ExprId("a") @@ -116,7 +115,7 @@ class GraphTest(DiGraph): def node2str(self, node): if isinstance(node, asm_label): - if not node in self.ira.blocs: + if node not in self.ira.blocs: return str(node) else: return str(self.ira.blocs[node]) |