Skip to content

Commit 488debe

Browse files
committed
test: verify CI
Include pre-commit.ci auto-fixes (trailing whitespace).
1 parent 6c541ab commit 488debe

3 files changed

Lines changed: 14 additions & 15 deletions

File tree

CHANGELOG.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ UNRELEASED
3030
* Add support for ``assertDictContainsSubset``.
3131

3232
* Put parenthesis around expressions if required.
33-
33+
3434
* Fixed assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex.
3535
The regex was getting replaced with an undefined variable `pattern`.
3636

@@ -41,11 +41,11 @@ UNRELEASED
4141
the `match` kwarg in `pytest.raises` instead of creating a variable
4242
with the context manager and doing an assert on `re.search`.
4343

44-
44+
4545
* Add a short developer guide.
4646

4747
* Remove testing on Python 3.0, 3.1, 3.2, add 3.6 and 3.7.
48-
48+
4949
* Distribute package as a universal wheel.
5050

5151

RELEASING.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ To publish a new release ``X.Y.Z``, the steps are as follows:
3939
The PR will be automatically merged.
4040

4141
#. Update the version in ``unittest2pytest/__init__.py`` and ``CHANGELOG.rst`` for the next release (usually use "minor+1" with the ``.dev0`` suffix).
42-

unittest2pytest/fixes/fix_remove_class.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@
3030
from fissix.fixer_util import find_indentation, token
3131

3232
"""
33-
Node(classdef,
34-
[Leaf(1, 'class'),
35-
Leaf(1, 'TestAssertEqual'),
36-
Leaf(7, '('),
37-
Leaf(1, 'TestCase'),
38-
Leaf(8, ')'),
39-
Leaf(11, ':'),
33+
Node(classdef,
34+
[Leaf(1, 'class'),
35+
Leaf(1, 'TestAssertEqual'),
36+
Leaf(7, '('),
37+
Leaf(1, 'TestCase'),
38+
Leaf(8, ')'),
39+
Leaf(11, ':'),
4040
Node(suite, [
41-
Leaf(4, '\n'),
42-
Leaf(5, ' '),
41+
Leaf(4, '\n'),
42+
Leaf(5, ' '),
4343
Node(funcdef, [
44-
Leaf(1, 'def'),
44+
Leaf(1, 'def'),
4545
Leaf(1, 'test_you'), ...
46-
]),
46+
]),
4747
Leaf(6, '')])])
4848
"""
4949

0 commit comments

Comments
 (0)