summaryrefslogtreecommitdiff
path: root/test/DocTests.py
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2014-12-24 10:08:43 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2014-12-24 10:08:43 +0100
commit4f1a5b57703b54eafd3c7c07c0b4db5765a4fddc (patch)
treea2a21da2a3ce2c8b86990f0f5d011ecde9b6285f /test/DocTests.py
parentca9eb815aff3d158b458874c9c81a0ff90889242 (diff)
downloadfork-ledger-4f1a5b57703b54eafd3c7c07c0b4db5765a4fddc.tar.gz
fork-ledger-4f1a5b57703b54eafd3c7c07c0b4db5765a4fddc.tar.bz2
fork-ledger-4f1a5b57703b54eafd3c7c07c0b4db5765a4fddc.zip
[test] Use --args-only option in DocTests.py
instead of --init-file /dev/null
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-xtest/DocTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DocTests.py b/test/DocTests.py
index be28fae1..dbd24634 100755
--- a/test/DocTests.py
+++ b/test/DocTests.py
@@ -114,7 +114,7 @@ class DocTests:
if command[0] == '$': command.remove('$')
index = command.index('ledger')
command[index] = self.ledger
- for i,argument in enumerate('--init-file /dev/null --columns 80'.split()):
+ for i,argument in enumerate('--args-only --columns 80'.split()):
command.insert(index+i+1, argument)
try: