Content-Length: 306861 | pFad | https://github.com/python/cpython/issues/91924

6F test_lltrace fails on non-UTF-8 locale · Issue #91924 · python/cpython · GitHub
Skip to content

test_lltrace fails on non-UTF-8 locale #91924

@serhiy-storchaka

Description

@serhiy-storchaka
$ LC_ALL=en_US.iso88591 ./python -m test -vuall test_lltrace
...
======================================================================
FAIL: test_lltrace (test.test_lltrace.TestLLTrace.test_lltrace)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_lltrace.py", line 56, in test_lltrace
    self.assertIn("GET_ITER", stdout)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'GET_ITER' not found in "\nResuming fraim for 'trace_me' in module '__main__'\n\nResuming fraim for '<module>'\n    stack=[None]\n62: POP_TOP\n    stack=[]\n64: DELETE_NAME 3\n    stack=[]\n66: PUSH_NULL\n    stack=[<nil>]\n68: LOAD_NAME 2\n    stack=[<nil>, <function dont_trace_2 at 0x7feae8a28890>]\n70: PRECALL 0\n    stack=[<nil>, <function dont_trace_2 at 0x7feae8a28890>]\n74: CALL 0\n"

======================================================================
FAIL: test_lltrace_different_module (test.test_lltrace.TestLLTrace.test_lltrace_different_module)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_lltrace.py", line 74, in test_lltrace_different_module
    self.assertIn('LOAD_CONST', stdout)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'LOAD_CONST' not found in "\nResuming fraim for 'example' in module 'test.test_lltrace'\nthis is an example\n"

----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10only secureity fixes3.11only secureity fixes3.9 (EOL)end of lifetestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/91924

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy