File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ import warnings
2
+
3
+ import pytest
4
+
5
+ # Ignore cleanup warnings from pytest (rarely happens due to a race condition when executing pytest in parallel)
6
+ warnings .filterwarnings ("ignore" , category = pytest .PytestWarning , message = r".*\(rm_rf\) error removing.*" )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
import os
15
+ import warnings
16
+
17
+ import pytest
15
18
16
19
_TEST_ROOT = os .path .dirname (__file__ )
17
20
_PROJECT_ROOT = os .path .dirname (_TEST_ROOT )
27
30
28
31
if not os .path .isdir (_TEMP_PATH ):
29
32
os .mkdir (_TEMP_PATH )
33
+
34
+
35
+ # Ignore cleanup warnings from pytest (rarely happens due to a race condition when executing pytest in parallel)
36
+ warnings .filterwarnings ("ignore" , category = pytest .PytestWarning , message = r".*\(rm_rf\) error removing.*" )
You can’t perform that action at this time.
0 commit comments