summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2022-11-01 12:16:04 +0200
committerGitHub <noreply@github.com>2022-11-01 12:16:04 +0200
commitbc9dc84876bed120c67c73bb6fcd2d8045198090 (patch)
tree53a893eaeece6541fc98b49a4fd721cd005e4ac8 /tests
parent52b83d3630c50944e84d066808b7ec2b0a259e4d (diff)
downloadbabel-bc9dc84876bed120c67c73bb6fcd2d8045198090.tar.gz
Quiesce pytest warnings (#916)
* Skip doctest of deprecated format_number * Don't return from test_compatible_classes_in_global_and_localedata * Renovate conftest (and require pytest 6+)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 529a424..2de79e2 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -313,7 +313,7 @@ def test_compatible_classes_in_global_and_localedata(filename):
(module, name))
with open(filename, 'rb') as f:
- return Unpickler(f).load()
+ assert Unpickler(f).load()
def test_issue_601_no_language_name_but_has_variant():