Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
opt
›
alt
›
python38
›
lib64
›
python3.8
›
test
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_lltrace.py
← Back
import os import textwrap import unittest from test import support from test.support.script_helper import assert_python_ok class TestLLTrace(unittest.TestCase): def test_lltrace_does_not_crash_on_subscript_operator(self): # If this test fails, it will reproduce a crash reported as # bpo-34113. The crash happened at the command line console of # debug Python builds with __ltrace__ enabled (only possible in console), # when the interal Python stack was negatively adjusted with open(support.TESTFN, 'w') as fd: self.addCleanup(os.unlink, support.TESTFN) fd.write(textwrap.dedent("""\ import code console = code.InteractiveConsole() console.push('__ltrace__ = 1') console.push('a = [1, 2, 3]') console.push('a[0] = 1') print('unreachable if bug exists') """)) assert_python_ok(support.TESTFN) if __name__ == "__main__": unittest.main()
💻
System Info
Current path
/opt/alt/python38/lib64/python3.8/test
Contents
23 folders, 557 files
Disk free
100.28 GB
PHP version
8.3.30
🚀
Quick Actions
📍 Script location
🌐 Web root
🗑️ Temp
📁 /opt/alt/python38/lib64/python3.8/test
⚡ Nexus File Manager • 580 items