Commit Graph

11 Commits

Author SHA1 Message Date
Marcelo Trylesinski 7516daf7a7 Bump pyupgrade version and add __future__.annotations import 2022-04-15 14:16:57 +06:00
Matus Valo 07bab02bc3
Remove dependency to case (#1389)
* Remove dependency to case

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix flake8 errors

* Remove unused code

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-15 21:00:08 +06:00
Omer Katz 1e20625d7b Drop support for the lzma backport. 2021-03-16 10:02:55 +06:00
Matus Valo 1512c5d609 Removed case.skip 2020-08-17 10:16:05 +06:00
Omer Katz 7a6e7cc45b pyupgrade 2020-07-13 16:58:06 +03:00
Patrick Woods 2415a64776 Restore bz2 import checks in compression.py (#1003)
Removed in #938 due to assumption that it only affected Jython but
the condition can be present in systems built without bz2 support.
2019-02-08 13:26:15 +02:00
Omer Katz 627964c804
Added optional support for zstd compression. (#985) 2019-01-13 09:44:44 +02:00
Omer Katz 8c88d9276a Added support for lzma compression (#984)
* Added support for lzma compression.

* Ignore branch.
2019-01-10 15:00:37 +06:00
Omer Katz 93a05f7261
Added optional support for brotli compression (#983)
* Added optional support for brotli compression.

* Ignore import error for coverage purposes.
2019-01-09 19:05:02 +02:00
Mads Jensen bb6d16c28d Removed Jython bz2 import fallback (#938) 2018-10-28 19:05:18 +02:00
Ask Solem 6d72e40e5b Rewrite tests to use py.test
NOTE: test_qpid was removed as it's breaking horribly.
It's currently trying to import symbols from kombu.transport.qpid
that don't exist.

assertRaises -> pytest.raises

assertTrue

assertTrue - multiline

assertFalse

assertFalse - multiline

assertIsNone

assertIsNone - multiline

assertEqual

assertEqual - multiline

assertNotEqual

assertNotEqual - multiline

assertGreater - multiline

assertIn

assertIn - multiline

assertNotIn

assertNotIn - multiline

assertIsInstance

assertIsInstance - multiline

assertIsNot

assertIsNot - multiline

assertIsNotNone

assertIs

assertIs - multiline

Manual changes

Now depends on case 1.3.1
2016-08-23 11:38:54 -07:00