<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/test_utils/test_simpletestcase.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-02-26T13:27:33Z</updated>
<entry>
<title>Refs #36936 - Adjusted tests to set PYTHON_COLORS environment variable.</title>
<updated>2026-02-26T13:27:33Z</updated>
<author>
<name>Pete Rosenblum</name>
<email>prosenbl@gmail.com</email>
</author>
<published>2026-02-26T04:55:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=71d1e92e11093feb9a337f6d77078c5e75cbb92f'/>
<id>urn:sha1:71d1e92e11093feb9a337f6d77078c5e75cbb92f</id>
<content type='text'>
When "FORCE_COLOR" was set in the environment (such as in django-docker-box)
several test cases that rely on string comparisons against exception
messages or command line results would fail due to ANSI escape sequences
being present in the output. This change resolved the issue by setting
the "PYTHON_COLORS" environment variable to "0" for those specific tests,
which takes precendence over the presence of "FORCE_COLOR".
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #27391 -- Implemented SimpleTestCase.debug().</title>
<updated>2019-10-18T10:22:51Z</updated>
<author>
<name>Pavel Savchenko</name>
<email>asfaltboy@gmail.com</email>
</author>
<published>2016-10-26T21:10:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1711c509faf3111bdf5a3a860b2cd01c0dc5d233'/>
<id>urn:sha1:1711c509faf3111bdf5a3a860b2cd01c0dc5d233</id>
<content type='text'>
debug() should bubbled up exceptions if occurring in test, but behave
the same as run() when no exceptions occurred.
</content>
</entry>
<entry>
<title>Refs #27391 -- Added more tests for SimpleTestCase.</title>
<updated>2019-10-18T09:11:34Z</updated>
<author>
<name>Pavel Savchenko</name>
<email>asfaltboy@gmail.com</email>
</author>
<published>2019-10-18T08:27:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=dc8cd2fefd028913e3273927342374f5259cc566'/>
<id>urn:sha1:dc8cd2fefd028913e3273927342374f5259cc566</id>
<content type='text'>
</content>
</entry>
</feed>
