diff options
author | Mikhail Borisov <borisov.mikhail@gmail.com> | 2022-02-10 16:45:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:40 +0300 |
commit | 5d50718e66d9c037dc587a0211110b7d25a66185 (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /library/python/runtime_py3/test | |
parent | a6a92afe03e02795227d2641b49819b687f088f8 (diff) | |
download | ydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz |
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/python/runtime_py3/test')
5 files changed, 15 insertions, 15 deletions
diff --git a/library/python/runtime_py3/test/canondata/result.json b/library/python/runtime_py3/test/canondata/result.json index b60f372fe3..a7d045fc9c 100644 --- a/library/python/runtime_py3/test/canondata/result.json +++ b/library/python/runtime_py3/test/canondata/result.json @@ -1,7 +1,7 @@ { "test_traceback.test_traceback[custom-default]": { "stderr": { - "checksum": "6c1a9b47baa51cc6903b85fd43c529b5", + "checksum": "6c1a9b47baa51cc6903b85fd43c529b5", "uri": "file://test_traceback.test_traceback_custom-default_/stderr.txt" }, "stdout": { @@ -31,7 +31,7 @@ }, "test_traceback.test_traceback[main-default]": { "stderr": { - "checksum": "6c1a9b47baa51cc6903b85fd43c529b5", + "checksum": "6c1a9b47baa51cc6903b85fd43c529b5", "uri": "file://test_traceback.test_traceback_main-default_/stderr.txt" }, "stdout": { diff --git a/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_custom-default_/stderr.txt b/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_custom-default_/stderr.txt index e5e3607e85..5eb7da170a 100644 --- a/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_custom-default_/stderr.txt +++ b/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_custom-default_/stderr.txt @@ -1,12 +1,12 @@ Traceback (most recent call last): File "library/python/runtime_py3/test/traceback/crash.py", line 44, in main - one() + one() File "library/python/runtime_py3/test/traceback/crash.py", line 12, in one - modfunc(two) # aaa + modfunc(two) # aaa File "library/python/runtime_py3/test/traceback/mod/__init__.py", line 3, in modfunc - f() # call back to caller + f() # call back to caller File "library/python/runtime_py3/test/traceback/crash.py", line 16, in two - three(42) + three(42) File "library/python/runtime_py3/test/traceback/crash.py", line 20, in three - raise RuntimeError('Kaboom! I\'m dead: {}'.format(x)) + raise RuntimeError('Kaboom! I\'m dead: {}'.format(x)) RuntimeError: Kaboom! I'm dead: 42 diff --git a/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_main-default_/stderr.txt b/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_main-default_/stderr.txt index e5e3607e85..5eb7da170a 100644 --- a/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_main-default_/stderr.txt +++ b/library/python/runtime_py3/test/canondata/test_traceback.test_traceback_main-default_/stderr.txt @@ -1,12 +1,12 @@ Traceback (most recent call last): File "library/python/runtime_py3/test/traceback/crash.py", line 44, in main - one() + one() File "library/python/runtime_py3/test/traceback/crash.py", line 12, in one - modfunc(two) # aaa + modfunc(two) # aaa File "library/python/runtime_py3/test/traceback/mod/__init__.py", line 3, in modfunc - f() # call back to caller + f() # call back to caller File "library/python/runtime_py3/test/traceback/crash.py", line 16, in two - three(42) + three(42) File "library/python/runtime_py3/test/traceback/crash.py", line 20, in three - raise RuntimeError('Kaboom! I\'m dead: {}'.format(x)) + raise RuntimeError('Kaboom! I\'m dead: {}'.format(x)) RuntimeError: Kaboom! I'm dead: 42 diff --git a/library/python/runtime_py3/test/test_traceback.py b/library/python/runtime_py3/test/test_traceback.py index 0504f211c3..82087ce98a 100644 --- a/library/python/runtime_py3/test/test_traceback.py +++ b/library/python/runtime_py3/test/test_traceback.py @@ -33,7 +33,7 @@ def test_traceback(mode, entry_point): filtered_stderr_path = yc.test_output_path('stderr.txt') env = os.environ.copy() - env.pop('PYTHONPATH', None) # Do not let program peek into its sources on filesystem + env.pop('PYTHONPATH', None) # Do not let program peek into its sources on filesystem if entry_point == 'custom': env['Y_PYTHON_ENTRY_POINT'] = 'library.python.runtime_py3.test.traceback.crash:main' diff --git a/library/python/runtime_py3/test/ya.make b/library/python/runtime_py3/test/ya.make index 866f1deeda..4ec3db74f5 100644 --- a/library/python/runtime_py3/test/ya.make +++ b/library/python/runtime_py3/test/ya.make @@ -36,5 +36,5 @@ RESOURCE_FILES( ) END() - -RECURSE_FOR_TESTS(traceback) + +RECURSE_FOR_TESTS(traceback) |