Commit 4a11ebc
authored
Cleanup qt_dotgraph and make the tests more robust. (#296)
1. Remove all uses of LooseVersion here. The issue it
was protecting against is long gone, and LooseVersion is
deprecated. Just remove it.
2. Remove the "simplify" parameter from "add_edge_to_graph".
While this is technically an API change, there are no downstream
users as far as I can tell and it had no effect.
3. During the test, make sure to replace carriage return with
spaces. This ensures that on Windows, the tests will pass
correctly.
Signed-off-by: Chris Lalancette <[email protected]>1 parent ee23724 commit 4a11ebc
File tree
2 files changed
+14
-31
lines changed- qt_dotgraph
- src/qt_dotgraph
- test
2 files changed
+14
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 33 | | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
83 | 71 | | |
84 | 72 | | |
85 | 73 | | |
| |||
138 | 126 | | |
139 | 127 | | |
140 | 128 | | |
141 | | - | |
142 | | - | |
143 | | - | |
| 129 | + | |
| 130 | + | |
144 | 131 | | |
145 | 132 | | |
146 | 133 | | |
| |||
153 | 140 | | |
154 | 141 | | |
155 | 142 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 143 | + | |
161 | 144 | | |
162 | 145 | | |
163 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
0 commit comments