Don't hard-code path to logging/__init__.py or line numbers.

Allows python plugin tests to success on versions other than 3.7.
This commit is contained in:
Todd C. Miller
2020-03-11 17:18:10 -06:00
parent 6c1b155fed
commit ec78f06890
4 changed files with 22 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ __init__ @ SRC_DIR/example_debugging.py:58 debugs:
My demo purpose plugin shows this ERROR level debug message
__init__ @ SRC_DIR/example_debugging.py:63 debugs:
My demo purpose plugin shows this INFO level debug message
handle @ /usr/lib/python3.7/logging/__init__.py:894 debugs:
handle @ logging/__init__.py debugs:
Python log system shows this ERROR level debug message
handle @ /usr/lib/python3.7/logging/__init__.py:894 debugs:
handle @ logging/__init__.py debugs:
Python log system shows this INFO level debug message