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 11from functools import lru_cache
22from pathlib import Path
3+ import argparse
34import math
45import warnings
56import os
@@ -55,6 +56,7 @@ def pytest_addoption(parser):
5556 help = "disable testing functions with output shapes dependent on input" ,
5657 )
5758 # CI
59+ parser .addoption ("--ci" , action = "store_true" , help = argparse .SUPPRESS ) # deprecated
5860 parser .addoption (
5961 "--skips-file" ,
6062 action = "store" ,
@@ -98,6 +100,12 @@ def pytest_configure(config):
98100 settings .load_profile ("xp_override" )
99101 else :
100102 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+ )
101109
102110
103111@lru_cache
You can’t perform that action at this time.
0 commit comments