Blame python-astropy-system-pytest.patch
|
Sergio Pascual |
2689ec2 |
diff -ur astropy-1.0/astropy/tests/helper.py astropy-1.0.pytest/astropy/tests/helper.py
|
|
Sergio Pascual |
2689ec2 |
--- astropy-1.0/astropy/tests/helper.py 2015-02-18 22:45:32.000000000 +0100
|
|
Sergio Pascual |
2689ec2 |
+++ astropy-1.0.pytest/astropy/tests/helper.py 2015-02-19 16:20:28.201778929 +0100
|
|
Sergio Pascual |
2689ec2 |
@@ -35,8 +35,8 @@
|
|
Sergio Pascual |
2689ec2 |
AstropyDeprecationWarning,
|
|
Sergio Pascual |
2689ec2 |
AstropyPendingDeprecationWarning)
|
|
Sergio Pascual |
0f3ec8c |
from ..config import configuration
|
|
Sergio Pascual |
2689ec2 |
-
|
|
Sergio Pascual |
cdfc2ae |
-if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
|
|
Sergio Pascual |
2689ec2 |
+# Modified by Fedora package
|
|
Sergio Pascual |
0f3ec8c |
+if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
|
|
Sergio Pascual |
cdfc2ae |
import pytest
|
|
Sergio Pascual |
cdfc2ae |
|
|
Sergio Pascual |
cdfc2ae |
else:
|