Show More
@@ -31,11 +31,14 b' data_non_inlined = (' | |||
|
31 | 31 | b'\x00\x00\x00\x00\x00\x00\x00\x00\x00' |
|
32 | 32 | ) |
|
33 | 33 | |
|
34 | class fakechangelog(object): | |
|
35 | def __init__(self, idx): | |
|
36 | self.index = idx | |
|
37 | ||
|
34 | 38 | class fakerepo(object): |
|
35 | 39 | def __init__(self, idx): |
|
36 | 40 | """Just make so that self.changelog.index is the given idx.""" |
|
37 |
self. |
|
|
38 | self.changelog = self | |
|
41 | self.changelog = fakechangelog(idx) | |
|
39 | 42 | |
|
40 | 43 | @unittest.skipIf(PartialDiscovery is None or cparsers is None, |
|
41 | 44 | "rustext or the C Extension parsers module " |
General Comments 0
You need to be logged in to leave comments.
Login now