Skip to content

Commit

Permalink
ENH: remove -R option as it clashes with pytest-leaks. -R will be add…
Browse files Browse the repository at this point in the history
…ed to pytest-astropy instead
  • Loading branch information
bsipocz committed Aug 23, 2023
1 parent e9e138f commit 60ff143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest_remotedata/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ def pytest_addoption(parser):

# The following means that if --remote-data is not specified, the default
# is 'none', but if it is specified without arguments (--remote-data), it
# defaults to '--remote-data=any'. -R is short for --remote-data
# defaults to '--remote-data=any'.
parser.addoption(
"--remote-data", "-R", nargs="?", const='any', default='none',
help="run tests with online data")
"--remote-data", nargs="?", const='any', default='none',

parser.addini(
'remote_data_strict',
Expand Down

0 comments on commit 60ff143

Please sign in to comment.