<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/testtools.git/testtools/testcase.py, branch master</title>
<subtitle>github.com: testing-cabal/testtools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/'/>
<entry>
<title>Prevent AttributeError in TestCase.__eq__</title>
<updated>2022-11-04T18:47:15+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2022-11-04T18:47:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=6286dbe3de4ab2ddb6ce9ba28cf959a8959423ed'/>
<id>6286dbe3de4ab2ddb6ce9ba28cf959a8959423ed</id>
<content type='text'>
Not all objects have a __dict__ attribute.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not all objects have a __dict__ attribute.
</pre>
</div>
</content>
</entry>
<entry>
<title>simplifying code</title>
<updated>2022-07-01T18:35:02+00:00</updated>
<author>
<name>Ben Beecher</name>
<email>Ben@lightmatter.com</email>
</author>
<published>2022-05-01T00:05:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=e223b5dfada74e8a7438f699c81ab2baeb08df60'/>
<id>e223b5dfada74e8a7438f699c81ab2baeb08df60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>less code</title>
<updated>2022-07-01T18:35:02+00:00</updated>
<author>
<name>Ben Beecher</name>
<email>ben@lightmatter.com</email>
</author>
<published>2019-08-29T19:52:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=cf6b8b0ec9e8a16fa64bddbe0ae69f0f235a550a'/>
<id>cf6b8b0ec9e8a16fa64bddbe0ae69f0f235a550a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Making sure that TestCase can be hashed</title>
<updated>2022-07-01T18:35:02+00:00</updated>
<author>
<name>Ben Beecher</name>
<email>benbeecher@gmail.com</email>
</author>
<published>2017-01-22T22:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=56537559a34c4bc1e5f11e68e6378a26c241b474'/>
<id>56537559a34c4bc1e5f11e68e6378a26c241b474</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade Python syntax with pyupgrade --py36-plus</title>
<updated>2022-02-07T12:16:32+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2022-02-07T12:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=182bb4b405f29f33a9086ef35c0fa814ac299447'/>
<id>182bb4b405f29f33a9086ef35c0fa814ac299447</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>trivial: Cleanup imports</title>
<updated>2021-02-25T11:46:26+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-25T09:51:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=1c1f43f14e7988d8999310aecd19c19877135927'/>
<id>1c1f43f14e7988d8999310aecd19c19877135927</id>
<content type='text'>
This is kept separately from the reintroduction of 'try_imports' to keep
that patch reasonable.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is kept separately from the reintroduction of 'try_imports' to keep
that patch reasonable.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-introduce 'try_imports'</title>
<updated>2021-02-25T11:46:26+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-24T17:31:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=6413a522118e12d186f69c571001e84733cd8716'/>
<id>6413a522118e12d186f69c571001e84733cd8716</id>
<content type='text'>
There are few if any people still (knowingly) using the 'extras' lib.
OpenStack users have their own implementation (sigh) in 'oslo.utils' and
everyone else is getting by with try-except statements. Reintroduce this
utility to 'testtools.helpers', allowing us to eventually drop the
dependency on extras. Note however that we can't actually do this yet
since 'fixtures' has an implicit dependency on 'extras' through
'testtools', and we break that by removing it here.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are few if any people still (knowingly) using the 'extras' lib.
OpenStack users have their own implementation (sigh) in 'oslo.utils' and
everyone else is getting by with try-except statements. Reintroduce this
utility to 'testtools.helpers', allowing us to eventually drop the
dependency on extras. Note however that we can't actually do this yet
since 'fixtures' has an implicit dependency on 'extras' through
'testtools', and we break that by removing it here.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove use of 'safe_hasattr'</title>
<updated>2021-02-25T09:57:14+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephen@that.guru</email>
</author>
<published>2021-02-11T09:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=334374cd6a5827498cdd7fd3f03a02c38a058405'/>
<id>334374cd6a5827498cdd7fd3f03a02c38a058405</id>
<content type='text'>
This was used to workaround some issues with 'hasattr' on Python 2.x
versions, discussed in the source for extras (where this utility was
moved to make it more useful to others) [1] and elsewhere on the
internet [2]. These issues are no longer present on the versions of
Python we now support (Python 3.6+) so this is no longer necessary.

[1] https://github.com/testing-cabal/extras/blob/1.0.0/extras/__init__.py#L101-L108
[2] https://hynek.me/articles/hasattr/

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was used to workaround some issues with 'hasattr' on Python 2.x
versions, discussed in the source for extras (where this utility was
moved to make it more useful to others) [1] and elsewhere on the
internet [2]. These issues are no longer present on the versions of
Python we now support (Python 3.6+) so this is no longer necessary.

[1] https://github.com/testing-cabal/extras/blob/1.0.0/extras/__init__.py#L101-L108
[2] https://hynek.me/articles/hasattr/

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'remove-unittest2' into drop-unittest2</title>
<updated>2020-07-10T13:23:01+00:00</updated>
<author>
<name>Federico Ressi</name>
<email>fressi@redhat.com</email>
</author>
<published>2020-07-10T13:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=2018b43d4f3492bb86e6fcb4ddac4a1648255a8d'/>
<id>2018b43d4f3492bb86e6fcb4ddac4a1648255a8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused try_import</title>
<updated>2020-07-10T13:14:10+00:00</updated>
<author>
<name>Federico Ressi</name>
<email>fressi@redhat.com</email>
</author>
<published>2020-07-10T13:14:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/testtools.git/commit/?id=d4172aabe5acc9699852e4e679bd61454fcab174'/>
<id>d4172aabe5acc9699852e4e679bd61454fcab174</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
