<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/test/test_error_reporting.py, branch master</title>
<subtitle>svn.code.sf.net: p/docutils/code
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/'/>
<entry>
<title>Fix IndexError when running individual test modules under Python &lt;3.9</title>
<updated>2022-11-26T23:15:13+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-11-26T23:15:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=a9d9d8d615eb0c9e0b291e29b41458ee54bb1fc7'/>
<id>a9d9d8d615eb0c9e0b291e29b41458ee54bb1fc7</id>
<content type='text'>
Up to Python 3.8, __file__ returns a relative path for the main script
specified on the command line. Use `Path.resolve()` to make it absolute before
calling `Path.parents`.
https://docs.python.org/3/whatsnew/3.9.html#other-language-changes

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9277 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Up to Python 3.8, __file__ returns a relative path for the main script
specified on the command line. Use `Path.resolve()` to make it absolute before
calling `Path.parents`.
https://docs.python.org/3/whatsnew/3.9.html#other-language-changes

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9277 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix import errors with ``python -m unittest``.</title>
<updated>2022-11-25T14:01:57+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-11-25T14:01:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=ddf5175e10ca55e8baafd2d402918a9d7d51451d'/>
<id>ddf5175e10ca55e8baafd2d402918a9d7d51451d</id>
<content type='text'>
Running standard unittest on the test suite resulted in 89 ImportErrors
because ``import DocutilsTestSupport was used to set up sys.path()
but the module could not be found on the original sys.path().

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9274 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running standard unittest on the test suite resulted in 89 ImportErrors
because ``import DocutilsTestSupport was used to set up sys.path()
but the module could not be found on the original sys.path().

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9274 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the tests agnostic to the working directory</title>
<updated>2022-11-10T16:25:32+00:00</updated>
<author>
<name>aa-turner</name>
<email>aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-11-10T16:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=7688249672e39bac02e0c9b23101f78bf7de96ce'/>
<id>7688249672e39bac02e0c9b23101f78bf7de96ce</id>
<content type='text'>
Previously, the test suite only worked when the current working
directory was ``docutils/test/`. With this change all relative paths
are calculated explicitly such that the working directory no longer
affects the tests, meaning a less fragile test environment and 
greater flexibility to use test runners other than ``alltests.py``.
This is part of the test suite refactoring project.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9236 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the test suite only worked when the current working
directory was ``docutils/test/`. With this change all relative paths
are calculated explicitly such that the working directory no longer
affects the tests, meaning a less fragile test environment and 
greater flexibility to use test runners other than ``alltests.py``.
This is part of the test suite refactoring project.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9236 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Inline ``DocutilsTestSupport.testroot``</title>
<updated>2022-11-09T20:51:23+00:00</updated>
<author>
<name>aa-turner</name>
<email>aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-11-09T20:51:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=d6b83cf56c43ca1edfbf145288d6de7a44ed3722'/>
<id>d6b83cf56c43ca1edfbf145288d6de7a44ed3722</id>
<content type='text'>
- Move all usages of ``testroot`` to defining and using a 
  ``TEST_ROOT`` constant within the module, as part of the test
  suite refactoring project
- Avoid ``os.chdir`` calls within ``test_error_reporting``

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9234 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Move all usages of ``testroot`` to defining and using a 
  ``TEST_ROOT`` constant within the module, as part of the test
  suite refactoring project
- Avoid ``os.chdir`` calls within ``test_error_reporting``

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9234 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Change working directory once for all tests</title>
<updated>2022-10-21T01:40:21+00:00</updated>
<author>
<name>aa-turner</name>
<email>aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-10-21T01:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=0e5961a098f35bc466896502886ba2d96690f971'/>
<id>0e5961a098f35bc466896502886ba2d96690f971</id>
<content type='text'>
The working directory is set to ``testroot`` in the initialisation
of ``DocutilsTestSupport``, meaning we do not need to set it to the
same directory in each test.


git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9144 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The working directory is set to ``testroot`` in the initialisation
of ``DocutilsTestSupport``, meaning we do not need to set it to the
same directory in each test.


git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9144 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Unify naming of the "utf-8" codec.</title>
<updated>2022-06-13T12:05:08+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-06-13T12:05:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=b25fb05d3a0b360985b5179a0b412af4ffc5f330'/>
<id>b25fb05d3a0b360985b5179a0b412af4ffc5f330</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9068 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9068 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare switch from optparse to argparse.</title>
<updated>2022-03-17T13:40:11+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-17T13:40:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=6ddacc9d64b3cb4d8a63fce877cd7463cc489bae'/>
<id>6ddacc9d64b3cb4d8a63fce877cd7463cc489bae</id>
<content type='text'>
New interface function: frontend.get_default_settings()
easy access to default settings for programmatic use.

Add deprecation warnings.
Catch them when accessing the deprecated functions from Docutils.

Make docstrings conform to the Documentation Policies
(first line: summary, next line empty).

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9047 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New interface function: frontend.get_default_settings()
easy access to default settings for programmatic use.

Add deprecation warnings.
Catch them when accessing the deprecated functions from Docutils.

Make docstrings conform to the Documentation Policies
(first line: summary, next line empty).

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9047 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports.</title>
<updated>2022-03-05T23:31:10+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=37ae2748d5417288ef244e4269d9ede7c81ddce1'/>
<id>37ae2748d5417288ef244e4269d9ede7c81ddce1</id>
<content type='text'>
flake8 rule F401

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake8 rule F401

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9037 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid too long lines.</title>
<updated>2022-03-05T23:28:32+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=9d0a53389e9df5f921ec2d4134f64f85eb894664'/>
<id>9d0a53389e9df5f921ec2d4134f64f85eb894664</id>
<content type='text'>
flake8 rule E501: line too long (N &gt; 79 characters)

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9030 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake8 rule E501: line too long (N &gt; 79 characters)

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9030 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix imports.</title>
<updated>2022-03-05T23:27:30+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2022-03-05T23:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/docutils.git/commit/?id=d89f2dd6540517c4efec23d49c6212cf62fae221'/>
<id>d89f2dd6540517c4efec23d49c6212cf62fae221</id>
<content type='text'>
flake8 rules
E401: multiple imports on one line
E402: module level import not at top of file

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9027 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake8 rules
E401: multiple imports on one line
E402: module level import not at top of file

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9027 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
</feed>
