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):
210
210
finally :
211
211
shutil .rmtree (install_path )
212
212
213
+ # Tell nose this is not a test
214
+ tests_installed .__test__ = False
215
+
213
216
214
217
def tests_from_zip (mod_name , zip_fname ):
215
218
""" Runs test from sdist zip source archive """
@@ -224,6 +227,8 @@ def tests_from_zip(mod_name, zip_fname):
224
227
finally :
225
228
shutil .rmtree (install_path )
226
229
230
+ tests_from_zip .__test__ = False
231
+
227
232
228
233
def sdist_tests (mod_name , repo_path = None ):
229
234
""" Make sdist zip, install from it, and run tests """
@@ -244,3 +249,4 @@ def sdist_tests(mod_name, repo_path=None):
244
249
os .chdir (pwd )
245
250
shutil .rmtree (install_path )
246
251
252
+ sdist_tests .__test__ = False
You can’t perform that action at this time.
0 commit comments