()
| 40 | timelines = [] |
| 41 | |
| 42 | def factory(): |
| 43 | timeline = Timeline() |
| 44 | timelines.append(timeline) |
| 45 | with timeline.frozen(): |
| 46 | assert timeline.beginning is not None |
| 47 | initial_history = [some.object.same_as(timeline.beginning)] |
| 48 | assert timeline.history() == initial_history |
| 49 | return timeline, initial_history |
| 50 | |
| 51 | yield factory |
| 52 | log.newline() |