<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_bdb.py, branch master</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-45229: Remove test_main in many tests (GH-28405)</title>
<updated>2021-09-19T12:27:33+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2021-09-19T12:27:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=40348acc180580371d25f75f46b27048e35f2435'/>
<id>40348acc180580371d25f75f46b27048e35f2435</id>
<content type='text'>
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.

load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.

load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-24160: Fix breakpoints persistence across multiple pdb sessions (GH-21989)</title>
<updated>2021-04-02T16:15:21+00:00</updated>
<author>
<name>Irit Katriel</name>
<email>iritkatriel@yahoo.com</email>
</author>
<published>2021-04-02T16:15:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ad442a674ca443feec43a88a2d3671784712e550'/>
<id>ad442a674ca443feec43a88a2d3671784712e550</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142)</title>
<updated>2021-04-02T03:53:46+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-04-02T03:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8bbfeb3330c10d52274bb85fce59ae614f0500bf'/>
<id>8bbfeb3330c10d52274bb85fce59ae614f0500bf</id>
<content type='text'>
* test__xxsubinterpreters
* test_builtin
* test_doctest
* test_exceptions
* test_opcodes
* test_support
* test_argparse
* test_baseexception
* test_bdb
* test_bool
* test_asdl_parser</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test__xxsubinterpreters
* test_builtin
* test_doctest
* test_exceptions
* test_opcodes
* test_support
* test_argparse
* test_baseexception
* test_bdb
* test_bool
* test_asdl_parser</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Use new test.support helper submodules in tests (GH-21451)</title>
<updated>2020-08-03T16:47:42+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-08-03T16:47:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bb0424b122e3d222a558bd4177ce37befd3e0347'/>
<id>bb0424b122e3d222a558bd4177ce37befd3e0347</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)</title>
<updated>2020-06-25T11:21:25+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-06-25T11:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=94eee69e9b3a7e7d33142a47ffea560beb8f1596'/>
<id>94eee69e9b3a7e7d33142a47ffea560beb8f1596</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix stepping into a frame without a __name__ (GH-12064)</title>
<updated>2019-03-13T03:57:09+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2019-03-13T03:57:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=86900a49000c4a96ad1dc34e49d8af4245b08843'/>
<id>86900a49000c4a96ad1dc34e49d8af4245b08843</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537)</title>
<updated>2018-12-05T19:32:16+00:00</updated>
<author>
<name>Alex H</name>
<email>1884912+lajarre@users.noreply.github.com</email>
</author>
<published>2018-12-05T19:32:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=54fd45505b3a365e6d53441e6dd7e0d1ec13b46f'/>
<id>54fd45505b3a365e6d53441e6dd7e0d1ec13b46f</id>
<content type='text'>
When running test_bdb.py as a script, `import test_module` would be
importing the existing Lib/test/test_modules.py instead of the
tempcwd/test_module.py module which was dynamically created by
test_bdb.py itself.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running test_bdb.py as a script, `import test_module` would be
importing the existing Lib/test/test_modules.py instead of the
tempcwd/test_module.py module which was dynamically created by
test_bdb.py itself.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-25711: Rewrite zipimport in pure Python. (GH-6809)</title>
<updated>2018-09-18T19:22:29+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-09-18T19:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b'/>
<id>79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)</title>
<updated>2018-05-16T21:50:29+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2018-05-16T21:50:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e5f41d2f1e0b8b8e61d5fa427c19bd1ea90fd9a3'/>
<id>e5f41d2f1e0b8b8e61d5fa427c19bd1ea90fd9a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33053: -m now adds *starting* directory to sys.path (GH-6231)</title>
<updated>2018-03-25T13:03:10+00:00</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2018-03-25T13:03:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d5d9e02dd3c6df06a8dd9ce75ee9b52976420a8b'/>
<id>d5d9e02dd3c6df06a8dd9ce75ee9b52976420a8b</id>
<content type='text'>
Historically, -m added the empty string as sys.path
zero, meaning it resolved imports against the current
working directory, the same way -c and the interactive
prompt do.

This changes the sys.path initialisation to add the
*starting* working directory as sys.path[0] instead,
such that changes to the working directory while the
program is running will have no effect on imports
when using the -m switch.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Historically, -m added the empty string as sys.path
zero, meaning it resolved imports against the current
working directory, the same way -c and the interactive
prompt do.

This changes the sys.path initialisation to add the
*starting* working directory as sys.path[0] instead,
such that changes to the working directory while the
program is running will have no effect on imports
when using the -m switch.</pre>
</div>
</content>
</entry>
</feed>
