diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 22:07:10 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-07-28 22:07:10 +0200 |
commit | 68ecc043cc69917582d81ac3514372bc3f690e0b (patch) | |
tree | 665706caff8300ee4c5d26b9806f912cf1d956e8 /test/DocTests.py | |
parent | d0fba947ade223dfa351c49ac15c6939c35b5f89 (diff) | |
download | fork-ledger-68ecc043cc69917582d81ac3514372bc3f690e0b.tar.gz fork-ledger-68ecc043cc69917582d81ac3514372bc3f690e0b.tar.bz2 fork-ledger-68ecc043cc69917582d81ac3514372bc3f690e0b.zip |
[tests] Allow string continuation in documentation
in long documentation examples.
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-x | test/DocTests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/DocTests.py b/test/DocTests.py index ac681bc2..7af7abc3 100755 --- a/test/DocTests.py +++ b/test/DocTests.py @@ -108,6 +108,7 @@ class DocTests: validate_command = False try: command = example[self.testin_token][self.testin_token] + command = re.sub(r'\\\n', '', command) except KeyError: if self.validate_dat_token in example: command = '$ ledger bal' |