<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Exception on DevTrace — 글로벌 개발 에러 트러블슈팅</title><link>https://tokkabi.com/tags/exception/</link><description>Recent content in Exception on DevTrace — 글로벌 개발 에러 트러블슈팅</description><generator>Hugo -- 0.125.0</generator><language>ko</language><lastBuildDate>Sat, 11 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tokkabi.com/tags/exception/index.xml" rel="self" type="application/rss+xml"/><item><title>pytest에서 예외 발생을 올바르게 검증하는 방법 (pytest.raises)</title><link>https://tokkabi.com/posts/pytest-exception-assert-raises/</link><pubDate>Sat, 11 Jul 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/pytest-exception-assert-raises/</guid><description>pytest에서 예외 발생을 검증하는 올바른 방법은 pytest.raises를 사용하는 것입니다. try/except와 pytest.fail을 사용하면 traceback이 제대로 출력되지 않아 디버깅이 어렵습니다. pytest.raises 컨텍스트 매니저를 활용하면 예외 발생 여부와 예외 정보를 깔끔하게 확인할 수 있습니다.</description></item><item><title>Python에서 traceback 없이 프로그램 깔끔하게 종료하기 — sys.exit()와 예외 처리</title><link>https://tokkabi.com/posts/how-to-exit-from-python-without-traceback/</link><pubDate>Thu, 09 Jul 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/how-to-exit-from-python-without-traceback/</guid><description>Python 프로그램 종료 시 traceback 덤프가 화면에 출력되는 문제를 해결하는 방법을 다룹니다. KeyboardInterrupt와 Exception을 try/except로 잡고 traceback.print_exc() 후 sys.exit(0)을 호출하는 패턴을 소개합니다.</description></item></channel></rss>