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