From 60ff143d9d00323df49665e9a0ff7ee6983b813b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 22 Aug 2023 20:19:10 -0700 Subject: [PATCH] ENH: remove -R option as it clashes with pytest-leaks. -R will be added to pytest-astropy instead --- pytest_remotedata/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_remotedata/plugin.py b/pytest_remotedata/plugin.py index 5368971..f85f1a3 100644 --- a/pytest_remotedata/plugin.py +++ b/pytest_remotedata/plugin.py @@ -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',