Update docstring examples

This commit is contained in:
Eric Torres 2019-03-30 22:42:44 -07:00
parent cfe4920df3
commit dd4f55c1fe

View File

@ -159,7 +159,7 @@ class Repository(Hierarchy):
Example Example
------- -------
>>> repo = Repository('/tmp') >>> repo = Repository('backup')
>>> repo.snapshots >>> repo.snapshots
[] []
>>> repo.create_snapshot() # doctest: +ELLIPSIS >>> repo.create_snapshot() # doctest: +ELLIPSIS
@ -179,7 +179,7 @@ class Repository(Hierarchy):
Example Example
------- -------
>>> repo = Repository('/tmp') >>> repo = Repository('backup')
>>> repo.empty >>> repo.empty
True True
>>> repo.create_snapshot() # doctest: +ELLIPSIS >>> repo.create_snapshot() # doctest: +ELLIPSIS