Commit Graph

5 Commits

Author SHA1 Message Date
Omer Katz 2c75db39e0 Remove five usage from tests. 2020-07-23 16:33:40 +03:00
Omer Katz 7a6e7cc45b pyupgrade 2020-07-13 16:58:06 +03:00
David Szotten 193054d243 Switch from pkg_resources importlib-metadata (#1071)
See e.g. https://github.com/pypa/setuptools/issues/510#issuecomment-463667124

On a moderatly large project (~200 packages) at $work this saves ~150 ms on
`python -c 'from kombu import Exchange'`
2019-07-06 00:33:35 +06:00
Ask Solem 03790d3afc Removes kombu.syn, moves detect_environment to utils.compat 2016-10-05 16:14:42 -07: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