d9ceecf937d697c51ff83c743c1c60158c100cb0,scipy/conftest.py,,pytest_runtest_setup,#Any#,20
Before Change
def pytest_runtest_setup(item):
if LooseVersion(pytest.__version__) >= LooseVersion("3.6.0"):
mark = item.get_closest_marker("xslow")
else:
mark = item.get_marker("xslow")
if mark is not None:
try:
v = int(os.environ.get("SCIPY_XSLOW", "0"))
except ValueError:
After Change
if not v:
pytest.skip("very slow test; set environment variable SCIPY_XSLOW=1 to run it")
mark = _get_mark(item, "xfail_on_32bit")
if mark is not None and np.intp(0).itemsize < 8:
pytest.xfail("Fails on 32-bit platforms: %s" % (mark.args[0],))
@pytest.fixture(scope="function", autouse=True)
def check_fpu_mode(request):
Check FPU mode was not changed during the test.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: scipy/scipy
Commit Name: d9ceecf937d697c51ff83c743c1c60158c100cb0
Time: 2019-11-05
Author: larson.eric.d@gmail.com
File Name: scipy/conftest.py
Class Name:
Method Name: pytest_runtest_setup
Project Name: theislab/scanpy
Commit Name: 0d44d1d50138e76bdc120cfacfd40c222e47b79e
Time: 2020-01-09
Author: flying-sheep@web.de
File Name: scanpy/external/tl/_pypairs.py
Class Name:
Method Name: _check_import
Project Name: scipy/scipy
Commit Name: cf51cef6babcba0b33bf6ed4e135d7137873b311
Time: 2013-09-11
Author: pav@iki.fi
File Name: scipy/sparse/tests/test_base.py
Class Name: _TestCommon
Method Name: test_ufunc_overrides