File: pytest9_compat.patch

package info (click to toggle)
rpy2 3.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,412 kB
  • sloc: python: 18,448; ansic: 492; makefile: 197; sh: 166
file content (19 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Don't pytest.mark fixtures

The tests using it already have the same mark

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1123337
Forwarded: no

--- a/rpy2-robjects/src/rpy2/ipython/tests/test_rmagic.py
+++ b/rpy2-robjects/src/rpy2/ipython/tests/test_rmagic.py
@@ -67,8 +67,6 @@ def test_get_valid_device_invalid(name,
         rmagic.get_valid_device(name, devices_dict=devices_dict)
 
 
-@pytest.mark.skipif(IPython is None,
-                    reason='The optional package IPython cannot be imported.')
 @pytest.fixture(scope='module')
 def clean_globalenv():
     yield