We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e1a50 commit a762fc3Copy full SHA for a762fc3
pvlib/test/test_conftest.py
@@ -1,11 +1,8 @@
1
import pytest
2
3
-from conftest import fail_on_pvlib_version, platform_is_windows, has_python2
+from conftest import fail_on_pvlib_version
4
5
6
-# allow xpass for python 2 on windows
7
-@pytest.mark.xfail(strict=(not (platform_is_windows and has_python2)),
8
- reason='fail_on_pvlib_version should cause test to fail')
9
@fail_on_pvlib_version('0.0')
10
def test_fail_on_pvlib_version():
11
pass
@@ -16,8 +13,6 @@ def test_fail_on_pvlib_version_pass():
16
13
17
14
18
15
19
20
- reason='ensure that the test is called')
21
@fail_on_pvlib_version('100000.0')
22
def test_fail_on_pvlib_version_fail_in_test():
23
raise Exception
0 commit comments