summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2021-01-29 13:52:39 +0000
committerMatthew Peveler <matt.peveler@gmail.com>2021-01-29 13:52:39 +0000
commitd9d29331890097705a18020977874b6550f34986 (patch)
treea55f9b96af669fc9cde121dbdb93f86410382693 /tests
parent8ecac1e77d13417343fe5ce6405c245d96229a18 (diff)
downloadasciidoc-py3-d9d29331890097705a18020977874b6550f34986.tar.gz
fix errors not displaying when called via module
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testasciidoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testasciidoc.py b/tests/testasciidoc.py
index 1379034..2aace85 100755
--- a/tests/testasciidoc.py
+++ b/tests/testasciidoc.py
@@ -398,6 +398,7 @@ class Lines(list):
if __name__ == '__main__':
# guarantee a stable timestamp matching the test fixtures
os.environ['SOURCE_DATE_EPOCH'] = '1038184662'
+ asciidoc.set_caller(__name__)
# Process command line options.
from argparse import ArgumentParser
parser = ArgumentParser(