[Перевод] Brython: Python в вашем браузере (ч.4) - PCNEWS.RU

QUnit 2.23.1; Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

4 tests completed in 11 milliseconds, with 3 failed, 0 skipped, and 0 todo.
1 assertions of 4 passed, 3 failed.
Rerun 2 failed tests

  1. js_add_test: should add two numbers (1)Rerun1 ms
    1. 1 + 1 = 2 (javascript@ 1 ms

    Source: at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:603:9)

  2. py_add_test: should add two numbers in Brython (1, 0, 1)Rerun1 ms
    1. Died on test #1: py_add is not defined at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:609:9)@ 1 ms
      Source:
      ReferenceError: py_add is not defined
          at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:610:12)

    Source: at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:609:9)

  3. py_add_failed_test: should add two numbers in Brython (failure) (1, 0, 1)Rerun1 ms
    1. Died on test #1: py_add is not defined at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:615:9)@ 1 ms
      Source:
      ReferenceError: py_add is not defined
          at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:616:12)

    Source: at Object.<anonymous> (https://pcnews.ru/blogs/%5Bperevod%5D_brython_python_v_vasem_brauzere_c4-1586915.html:615:9)