Merge lp:~cjwatson/storm/doctest-cleanup into lp:storm

Proposed by Colin Watson
Status: Merged
Merged at revision: 555
Proposed branch: lp:~cjwatson/storm/doctest-cleanup
Merge into: lp:storm
Diff against target: 39 lines (+12/-0)
3 files modified
storm/tests/infoheritance.txt (+4/-0)
storm/tests/tutorial.txt (+5/-0)
storm/tests/zope/README.txt (+3/-0)
To merge this branch: bzr merge lp:~cjwatson/storm/doctest-cleanup
Reviewer Review Type Date Requested Status
Kristian Glass (community) Approve
Ioana Lasc (community) Approve
Storm Developers Pending
Review via email: mp+384530@code.launchpad.net

Commit message

Clean up a bit more carefully in doctests.

Description of the change

This avoids problems if they're run in a different order.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) wrote :

LGTM

review: Approve
Revision history for this message
Kristian Glass (doismellburning) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'storm/tests/infoheritance.txt'
--- storm/tests/infoheritance.txt 2019-08-12 17:07:08 +0000
+++ storm/tests/infoheritance.txt 2020-05-26 10:10:15 +0000
@@ -277,4 +277,8 @@
277implemented using inheritance.277implemented using inheritance.
278278
279279
280==== Clean up ====
281
282 >>> Person._storm_property_registry.clear()
283
280## vim:ts=4:sw=4:et:ft=moin1_5284## vim:ts=4:sw=4:et:ft=moin1_5
281285
=== modified file 'storm/tests/tutorial.txt'
--- storm/tests/tutorial.txt 2019-08-12 17:07:08 +0000
+++ storm/tests/tutorial.txt 2020-05-26 10:10:15 +0000
@@ -958,4 +958,9 @@
958list.958list.
959959
960960
961==== Clean up ====
962
963 >>> Currency._storm_property_registry.clear()
964 >>> Country._storm_property_registry.clear()
965
961## vim:ts=4:sw=4:et:ft=moin1_5966## vim:ts=4:sw=4:et:ft=moin1_5
962967
=== modified file 'storm/tests/zope/README.txt'
--- storm/tests/zope/README.txt 2020-05-19 09:02:51 +0000
+++ storm/tests/zope/README.txt 2020-05-26 10:10:15 +0000
@@ -342,6 +342,9 @@
342The End342The End
343-------343-------
344344
345 >>> Team._storm_property_registry.clear()
346 >>> TeamMembership._storm_property_registry.clear()
347 >>> Person._storm_property_registry.clear()
345 >>> transaction.abort()348 >>> transaction.abort()
346 >>> zstorm._reset()349 >>> zstorm._reset()
347350

Subscribers

People subscribed via source and target branches

to status/vote changes: