🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 02:30:26 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pyfakefs
/
pytest_tests
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/pyfakefs/pytest_tests
🔄 Refresh
✏️
Editing: pytest_check_failed_plugin_test.py
Read Only
"""Tests that a failed pytest properly displays the call stack. Uses the output from running pytest with pytest_plugin_failing_helper.py. Regression test for #381. """ import os import pytest @pytest.mark.skipif(not os.path.exists("testresult.txt"), reason="Only run in CI tests") def test_failed_testresult_stacktrace(): with open("testresult.txt") as f: contents = f.read() # before the fix, a triple question mark has been displayed # instead of the stacktrace assert contents print("contents", contents) assert "???" not in contents assert "AttributeError" not in contents assert "def test_fs(fs):" in contents
💾 Save Changes
❌ Cancel