Kaydet (Commit) 57648308 authored tarafından R David Murray's avatar R David Murray

#11093: make NOTTESTS empty by renaming confusingly named files in test dir.

Patch by Sandro Tosi.
üst b588f8dd
......@@ -743,10 +743,7 @@ STDTESTS = [
]
# set of tests that we don't want to be executed when using regrtest
NOTTESTS = {
'test_future1',
'test_future2',
}
NOTTESTS = set()
def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):
"""Return a list of all applicable test modules."""
......
......@@ -13,14 +13,14 @@ def get_error_location(msg):
class FutureTest(unittest.TestCase):
def test_future1(self):
support.unload('test_future1')
from test import test_future1
self.assertEqual(test_future1.result, 6)
support.unload('future_test1')
from test import future_test1
self.assertEqual(future_test1.result, 6)
def test_future2(self):
support.unload('test_future2')
from test import test_future2
self.assertEqual(test_future2.result, 6)
support.unload('future_test2')
from test import future_test2
self.assertEqual(future_test2.result, 6)
def test_future3(self):
support.unload('test_future3')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment