Klaus Demo ~jonashaag/klaus / 64e483b
Fix Python 2 support Jonas Haag 6 years ago
3 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
0 #!/usr/bin/env python2
0 #!/usr/bin/env python
11 # coding: utf-8
2 from __future__ import print_function
23
34 import sys
45 import os
00 pytest
11 requests
2 python-ctags
3 mock
2 python-ctags; python_version < '3' # not supported on Python 3
3 mock; python_version < '3'
1212 from .utils import *
1313
1414
15 xfail_py3 = pytest.mark.xfail(sys.version_info.major >= 3, reason="not supported on Python 3")
15 xfail_py3 = pytest.mark.xfail(sys.version_info[0] >= 3, reason="not supported on Python 3")
1616
1717
1818 def test_htdigest_file_without_smarthttp_or_require_browser_auth():