|
1 | 1 | diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
|
2 |
| -index e76315299..9be107f9c 100644 |
| 2 | +index 9fe8b0f95..9be107f9c 100644 |
3 | 3 | --- a/pandas/tests/test_downstream.py
|
4 | 4 | +++ b/pandas/tests/test_downstream.py
|
5 |
| -@@ -139,7 +139,19 @@ def test_missing_required_dependency(): |
6 |
| - # -S : disable site-packages |
7 |
| - # -s : disable user site-packages |
8 |
| - # -E : disable PYTHON* env vars, especially PYTHONPATH |
9 |
| -- call = ['python', '-S', '-s', '-E', '-c', 'import pandas'] |
| 5 | +@@ -135,8 +135,23 @@ def test_pyarrow(df): |
| 6 | + |
| 7 | + def test_missing_required_dependency(): |
| 8 | + # GH 23868 |
| 9 | +- # use the -S flag to disable site-packages |
| 10 | +- call = ['python', '-S', '-c', 'import pandas'] |
| 11 | ++ # To ensure proper isolation, we pass these flags |
| 12 | ++ # -S : disable site-packages |
| 13 | ++ # -s : disable user site-packages |
| 14 | ++ # -E : disable PYTHON* env vars, especially PYTHONPATH |
10 | 15 | + # And, that's apparently not enough, so we give up.
|
11 | 16 | + # https://github.com/MacPython/pandas-wheels/pull/50
|
12 | 17 | + try:
|
|
0 commit comments