diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2021-01-29 13:52:39 +0000 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2021-01-29 13:52:39 +0000 |
commit | d9d29331890097705a18020977874b6550f34986 (patch) | |
tree | a55f9b96af669fc9cde121dbdb93f86410382693 /tests | |
parent | 8ecac1e77d13417343fe5ce6405c245d96229a18 (diff) | |
download | asciidoc-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-x | tests/testasciidoc.py | 1 |
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( |