aboutsummaryrefslogtreecommitdiffstats
path: root/tests/skip_check.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-24 22:43:46 -0800
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-12-24 22:43:46 -0800
commit0865a8b81075bfe073aba56e03cc57c30bfffe00 (patch)
treef029d15b5d36d05bfad67c9aac157ffdb139a417 /tests/skip_check.py
parent348c80f2eba66b5c1b7f4c3a5ee8fc330895ae4e (diff)
parent2b3f94271209883aab4181ac5401c699c5c60b75 (diff)
downloadcryptography-0865a8b81075bfe073aba56e03cc57c30bfffe00.tar.gz
cryptography-0865a8b81075bfe073aba56e03cc57c30bfffe00.tar.bz2
cryptography-0865a8b81075bfe073aba56e03cc57c30bfffe00.zip
Merge pull request #347 from alex/better-error-emssage
Better error emssage
Diffstat (limited to 'tests/skip_check.py')
-rw-r--r--tests/skip_check.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/skip_check.py b/tests/skip_check.py
deleted file mode 100644
index 454a3c5f..00000000
--- a/tests/skip_check.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-from __future__ import absolute_import, division, print_function
-
-import pytest
-
-
-def skip_check(name, iface, item):
- if name in item.keywords and item.funcargs.get('backend') is not None:
- if not isinstance(item.funcargs['backend'], iface):
- pytest.skip("Backend does not support {0}".format(name))