summaryrefslogtreecommitdiff
path: root/tests/test_conftest.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-11-02 06:36:30 +0100
committerFlorian Bruhin <git@the-compiler.org>2015-11-02 06:36:30 +0100
commit0d67cff5cba9a1192bbd1817e76849dd24ccd999 (patch)
tree5d4a50d03e050323fb78e2e7af46181e8c01d219 /tests/test_conftest.py
parent867f509bcc9880d4a39aa7f59b7e5b5e84a7bb2b (diff)
parent56758c8cea89c070e00304f363e3a2d54ca900af (diff)
downloadqutebrowser-0d67cff5cba9a1192bbd1817e76849dd24ccd999.tar.gz
qutebrowser-0d67cff5cba9a1192bbd1817e76849dd24ccd999.zip
Merge branch 'bdd'
Conflicts: tests/test_conftest.py tox.ini
Diffstat (limited to 'tests/test_conftest.py')
-rw-r--r--tests/test_conftest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_conftest.py b/tests/test_conftest.py
index a5534ef5f..6a2cca57d 100644
--- a/tests/test_conftest.py
+++ b/tests/test_conftest.py
@@ -23,6 +23,7 @@
import os
import sys
import warnings
+import inspect
import pytest
@@ -49,3 +50,8 @@ def test_installed_package():
"""Make sure the tests are running against the installed package."""
print(sys.path)
assert '.tox' in qutebrowser.__file__.split(os.sep)
+
+
+def test_getargspec():
+ """Make sure the getargspec DeprecationWarning gets ignored."""
+ inspect.getargspec(lambda: None)