summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2017-10-10 00:30:15 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2017-10-10 00:35:33 +0300
commitf37323aaa6bbf19202a1b78a6de03672a94ee1c1 (patch)
treee1230bb991b77c53e610ecc30f7633b8f3f0545d /tests
parentfc89e22eef0fd72f3f48be5ae7b5b3f00902ecb3 (diff)
downloadapscheduler-f37323aaa6bbf19202a1b78a6de03672a94ee1c1.tar.gz
Fixed PyPy3 test failure
Diffstat (limited to 'tests')
-rw-r--r--tests/test_util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index 75f6e42..55bf197 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -1,4 +1,5 @@
# coding: utf-8
+import platform
from datetime import date, datetime, timedelta, tzinfo
from functools import partial
from types import ModuleType
@@ -314,6 +315,8 @@ class TestCheckCallableArgs(object):
check_callable_args(object().__setattr__, ('blah', 1), {})
@minpython(3, 4)
+ @pytest.mark.skipif(platform.python_implementation() == 'PyPy',
+ reason='PyPy does not expose signatures of builtins')
def test_positional_only_args(self):
"""
Tests that an attempt to use keyword arguments for positional-only arguments raises an