File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,9 @@ def tests_installed(mod_name, source_path=None):
210210 finally :
211211 shutil .rmtree (install_path )
212212
213+ # Tell nose this is not a test
214+ tests_installed .__test__ = False
215+
213216
214217def tests_from_zip (mod_name , zip_fname ):
215218 """ Runs test from sdist zip source archive """
@@ -224,6 +227,8 @@ def tests_from_zip(mod_name, zip_fname):
224227 finally :
225228 shutil .rmtree (install_path )
226229
230+ tests_from_zip .__test__ = False
231+
227232
228233def sdist_tests (mod_name , repo_path = None ):
229234 """ Make sdist zip, install from it, and run tests """
@@ -244,3 +249,4 @@ def sdist_tests(mod_name, repo_path=None):
244249 os .chdir (pwd )
245250 shutil .rmtree (install_path )
246251
252+ sdist_tests .__test__ = False
You can’t perform that action at this time.
0 commit comments