- 22 Nov, 2021 2 commits
-
-
Athos Ribeiro authored
-
Athos Ribeiro authored
-
- 29 Sep, 2021 1 commit
-
-
Thomas Goirand authored
-
- 25 Aug, 2021 3 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
Release 2.5.0
-
- 14 Jul, 2021 6 commits
-
-
Matthew Treinish authored
This commit prepares the NEWS file for the 2.5.0 release.
-
Matthew Treinish authored
testtools.compat: provide BytesIO, StringIO again
-
Matthew Treinish authored
-
Matthew Treinish authored
-
Matthew Treinish authored
Fix tests with Python 3.10
-
Matthew Treinish authored
-
- 26 Jun, 2021 3 commits
-
-
Matthew Treinish authored
Note Python 3.5 is EOL and will be dropped after the next release
-
Hugo van Kemenade authored
-
Hugo van Kemenade authored
-
- 25 Jun, 2021 2 commits
-
-
Hugo van Kemenade authored
-
Matthew Treinish authored
-
- 16 Jun, 2021 1 commit
-
-
Matthieu Huin authored
This allows projects dependent on testtools.compat some respite if they haven't been updated for python 3.10 yet.
-
- 14 Jun, 2021 1 commit
-
-
Matthew Treinish authored
Add support for Python 3.9
-
- 12 Jun, 2021 2 commits
-
-
Hugo van Kemenade authored
-
Hugo van Kemenade authored
-
- 11 Jun, 2021 2 commits
-
-
Matthew Treinish authored
Fix setuptools warnings
-
Hugo van Kemenade authored
Fix UserWarning: Usage of dash-separated ... will not be supported in future versions. Please use the underscore name ... instead
-
- 19 Mar, 2021 1 commit
-
-
Cyril Roelandt authored
In Python 3, error messages have become a bit more precise. For instance, the following code snippet: ---- class Foo(): def bar(self, a): pass try: Foo().bar(1, 2) except TypeError as e: print(e) ---- will return: - in Python 3.9: "bar() takes 2 positional arguments but 3 were given" - in Python 3.10: "Foo.bar() takes 2 positional arguments but 3 were given" Fix our tests accordingly.
-
- 08 Mar, 2021 2 commits
-
-
Matthew Treinish authored
Publicly expose the SameMembers matcher
-
Matthew Treinish authored
-
- 04 Mar, 2021 1 commit
-
-
Jelmer Vernooij authored
Reduce dependencies
-
- 25 Feb, 2021 7 commits
-
-
Stephen Finucane authored
We can do this ourselves quite easily. Signed-off-by:Stephen Finucane <stephen@that.guru>
-
Stephen Finucane authored
This is kept separately from the reintroduction of 'try_imports' to keep that patch reasonable. Signed-off-by:Stephen Finucane <stephen@that.guru>
-
Stephen Finucane authored
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 <stephen@that.guru>
-
Stephen Finucane authored
This was being used in places to handle differences between Python 2 and Python 3. Since we only care about the latter now, the utility can be removed. Signed-off-by:Stephen Finucane <stephen@that.guru>
-
Stephen Finucane authored
We also need to override the install command or VIRTUAL_ENV environment variable. Signed-off-by:Stephen Finucane <stephen@that.guru>
-
Stephen Finucane authored
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 <stephen@that.guru>
-
Stephen Finucane authored
Signed-off-by:Stephen Finucane <stephen@that.guru>
-
- 22 Feb, 2021 1 commit
-
-
Matthew Treinish authored
Remove unittest2 usage from testtools
-
- 03 Dec, 2020 2 commits
-
-
Matthew Treinish authored
-
Matthew Treinish authored
Resolve DeprecationWarnings under python 36
-
- 02 Dec, 2020 3 commits
-
-
Matthew Treinish authored
-
Matthew Treinish authored
Fix github actions
-
Sorin Sbarnea authored
-