pytest2/testing
Nicholas Devenish 1a8d9bf254 Let approx() work on more generic sequences
approx() was updated in 9f3122fe to work better with numpy arrays,
however at the same time the requirements were tightened from
requiring an Iterable to requiring a Sequence - the former being
tested only on interface, while the latter requires subclassing or
registration with the abc.

Since the ApproxSequence only used __iter__ and __len__ this commit
reduces the requirement to only what's used, and allows unregistered
Sequence-like containers to be used.

Since numpy arrays qualify for the new criteria, reorder the checks so
that generic sequences are checked for after numpy arrays.
2018-11-18 20:01:11 +00:00
..
code Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
example_scripts tests: harden test_config_error 2018-11-09 01:31:53 +01:00
examples port some acceptance tests over to copy_example 2018-06-26 22:59:40 +02:00
freeze run black 2018-05-23 16:48:46 +02:00
logging minor: typos 2018-11-09 02:03:44 +01:00
python Let approx() work on more generic sequences 2018-11-18 20:01:11 +00:00
acceptance_test.py Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2018-11-13 09:01:37 -02:00
deprecated_test.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_argcomplete.py tests: fix equal_with_bash for .coverage files 2018-11-10 03:24:02 +01:00
test_assertion.py Use unicode/bytes literals instead of calls 2018-11-04 17:43:24 -08:00
test_assertrewrite.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_cacheprovider.py pytester: pop TOX_ENV_DIR from os.environ 2018-11-13 09:02:52 +01:00
test_capture.py Merge pull request #4305 from RonnyPfannschmidt/cleanup-tobytes 2018-11-04 17:29:41 -08:00
test_collection.py Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2018-11-13 09:01:37 -02:00
test_compat.py python: collect: ignore exceptions with isinstance 2018-11-01 22:14:13 +01:00
test_config.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_conftest.py _getconftestmodules: use functools.lru_cache 2018-10-31 23:17:05 +01:00
test_doctest.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_entry_points.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_helpconfig.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_junitxml.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_mark.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_modimport.py tests: test_fileimport: improve reporting on failure 2018-11-09 01:17:36 +01:00
test_monkeypatch.py fixup pyupgrade crlf incorrect fixes 2018-11-01 08:40:35 -07:00
test_nodes.py Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2018-11-13 09:01:37 -02:00
test_nose.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_parseopt.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_pastebin.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_pathlib.py Fix access denied error when deleting a stale temporary directory 2018-10-30 15:35:53 -03:00
test_pdb.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_pluginmanager.py Fix linting 2018-11-07 18:32:23 -02:00
test_pytester.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_recwarn.py fix #4243 - support positional argument stacklevel on python2 2018-10-26 09:01:25 +02:00
test_resultlog.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_runner.py Fix CallInfo.__repr__ for unfinished call 2018-11-13 08:51:43 +01:00
test_runner_xunit.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_session.py Merge remote-tracking branch 'upstream/master' into merge-master-into-features 2018-11-13 09:01:37 -02:00
test_skipping.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_stepwise.py Use a custom cache directory for test_stepwise tests 2018-11-12 16:57:39 -02:00
test_terminal.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_tmpdir.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00
test_unittest.py Apply reorder-python-imports to all files 2018-10-25 00:01:29 -07:00
test_warnings.py Change RemovedInPytest4Warnings to errors by default 2018-11-12 16:10:57 -02:00