File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
from functools import lru_cache
2
2
from pathlib import Path
3
+ import argparse
3
4
import math
4
5
import warnings
5
6
import os
@@ -55,6 +56,7 @@ def pytest_addoption(parser):
55
56
help = "disable testing functions with output shapes dependent on input" ,
56
57
)
57
58
# CI
59
+ parser .addoption ("--ci" , action = "store_true" , help = argparse .SUPPRESS ) # deprecated
58
60
parser .addoption (
59
61
"--skips-file" ,
60
62
action = "store" ,
@@ -98,6 +100,12 @@ def pytest_configure(config):
98
100
settings .load_profile ("xp_override" )
99
101
else :
100
102
settings .load_profile ("xp_default" )
103
+ # CI
104
+ if config .getoption ("--ci" ):
105
+ warnings .warn (
106
+ "Custom pytest option --ci is deprecated as any tests not for CI "
107
+ "are now located in meta_tests/"
108
+ )
101
109
102
110
103
111
@lru_cache
You can’t perform that action at this time.
0 commit comments