# AssertionError output for assert 1==2,'msg' is just 'AssertionError: msg' (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/assertionerror-output-for-assert-1-2-msg-is-just-assertionerror-msg-python-3-12-10-windows-11-94afb8b8949e
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, assertionerror, traceback

A -c script with that assert printed traceback line File "<string>", line 1 and 'AssertionError: msg'. No caret lines were shown for -c source ZeroDivisionError or KeyError traces.
