Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-116303: Skip test module dependent tests if test modules are disabled#116307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
9b3f0f70f6f74e2f750c37c4477da9c6f62cdc6df4d05dcd7cb7cff4ad5e3b6cdb8bf4e4a30b0fabb007c51dafac3f9c99fde9548ea72ced628896c88c6739c02cd6fd49532b242711125d0999bdd8cffee9fa51a47c5ffd84a5c4e877ffb1ec0c66afa58a9760c6cbd7f060aa1106b7db45852ccd8beaf80f75e39d135d13c482931e19a745e0586a148fb5File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| import os | ||
| from test.support import load_package_tests | ||
| def load_tests(*args): | ||
| return load_package_tests(os.path.dirname(__file__), *args) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -11,6 +11,7 @@ | ||
| import asyncio | ||
| from test import support | ||
| from test.support import requires_specialization, script_helper | ||
| from test.support.import_helper import import_module | ||
| PAIR = (0,1) | ||
| @@ -1811,14 +1812,14 @@ def test_gh108976(self): | ||
| class TestOptimizer(MonitoringTestBase, unittest.TestCase): | ||
| def setUp(self): | ||
| _testinternalcapi = import_module("_testinternalcapi") | ||
| self.old_opt = _testinternalcapi.get_optimizer() | ||
| opt = _testinternalcapi.new_counter_optimizer() | ||
| _testinternalcapi.set_optimizer(opt) | ||
| super(TestOptimizer, self).setUp() | ||
| def tearDown(self): | ||
erlend-aasland marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| _testinternalcapi = import_module("_testinternalcapi") | ||
erlend-aasland marked this conversation as resolved. OutdatedShow resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| super(TestOptimizer, self).tearDown() | ||
| _testinternalcapi.set_optimizer(self.old_opt) | ||
Uh oh!
There was an error while loading.Please reload this page.