mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
Change more tests to use import_module for the modules that
should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring.
This commit is contained in:
parent
dc340eedaa
commit
3db8a3432b
17 changed files with 53 additions and 43 deletions
|
@ -1,9 +1,9 @@
|
|||
import unittest
|
||||
from test import test_support
|
||||
|
||||
import resource
|
||||
import time
|
||||
|
||||
resource = test_support.import_module('resource')
|
||||
|
||||
# This test is checking a few specific problem spots with the resource module.
|
||||
|
||||
class ResourceTest(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue