All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Bugfix: assertAlmostEquals breaks if there are comments. (#46)
- Bugfix: Closing parentheses were placed in the wrong location. (#35)
- This release has been yanked, since it was buggy.
- Bugfix: rewriting from camelCase to snake_case only occurs in test cases in test files
- Bugfix: rewriting from camelCase to snake_case only occurs on test files
- Doesn't break on
assertAlmostEqual(a, b, delta=timedelta(1))
- Rewrite functions from camel case to snake case
--with-count-equal
optional argument to rewriteassertCountEqual
- Rewrite
delta=
inassertAlmostEqual
- Feature: Rewrites
self.assertEqual(a, None)
toassert a is None
rather thanassert a == None
- Fix: A class called
ThingTestCase
should be renamed toTestThing
- Another edge case involving multi-line comments and trailing slashes
- Fix edge case where commas in multiline asserts don't have trailing slashes but should
- Two spaces between trailing slashes and inline comments
- If assert is alone, combine the next line with it
import pytest
is next to other imports- Rewrite multiline asserts with fewer slashes
- pytest.approx
(Skipped, had a mistake in it)
- Skipping
- Expected failures
- setupClass / teardownClass
- Test class name
- setUp / TearDown
- Simple asserts
- Multi-line asserts