Skip to content

Commit 9dbe963

Browse files
committed
generalized patch to disable network demanding test into a PR
pandas-dev#19754
1 parent a53fc40 commit 9dbe963

File tree

3 files changed

+34
-12
lines changed

3 files changed

+34
-12
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From 31531b53e1d1bdc7c09ac8b351e1c89fdea8b176 Mon Sep 17 00:00:00 2001
2+
From: Yaroslav Halchenko <[email protected]>
3+
Date: Sun, 18 Feb 2018 18:10:00 -0500
4+
Subject: [PATCH] BF: mark two tests (test_{statsmodels,seaborn}) as requiring
5+
network
6+
7+
---
8+
pandas/tests/test_downstream.py | 2 ++
9+
1 file changed, 2 insertions(+)
10+
11+
diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py
12+
index b438d6a61..a595d9f18 100644
13+
--- a/pandas/tests/test_downstream.py
14+
+++ b/pandas/tests/test_downstream.py
15+
@@ -53,6 +53,7 @@ def test_xarray(df):
16+
assert df.to_xarray() is not None
17+
18+
19+
+@tm.network
20+
def test_statsmodels():
21+
22+
statsmodels = import_module('statsmodels') # noqa
23+
@@ -73,6 +74,7 @@ def test_scikit_learn(df):
24+
clf.predict(digits.data[-1:])
25+
26+
27+
+@tm.network
28+
def test_seaborn():
29+
30+
seaborn = import_module('seaborn')
31+
--
32+
2.15.1
33+

debian/patches/series

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ deb_fix_test_failure_test_basic_indexing
99
# up_buggy_overflows
1010
# 858260.patch
1111
up_print_versions
12-
up_network_seaborn
1312
# does not apply to 0.22 but kept around since next one might have it
1413
# up_tst_dont_assert_that_a_bug_exists_in_numpy
1514
# disabled since majority seems adopted but might be not all
@@ -19,3 +18,4 @@ mark_tests_working_on_intel_mips.patch
1918
mark_tests_working_on_intel_armhf.patch
2019
mathjax-path.patch
2120
up_moto_optional
21+
0001-BF-mark-two-tests-test_-statsmodels-seaborn-as-requi.patch

debian/patches/up_network_seaborn

-11
This file was deleted.

0 commit comments

Comments
 (0)