mirror of
https://github.com/python/cpython
synced 2024-10-02 08:19:22 +00:00
Issue #11919: try to fix test_imp failure on some buildbots.
This commit is contained in:
parent
72562d065e
commit
11846905d3
|
@ -171,8 +171,9 @@ def test_issue5604(self):
|
|||
support.rmtree(test_package_name)
|
||||
|
||||
def test_issue9319(self):
|
||||
path = os.path.dirname(__file__)
|
||||
self.assertRaises(SyntaxError,
|
||||
imp.find_module, "test/badsyntax_pep3120")
|
||||
imp.find_module, "badsyntax_pep3120", [path])
|
||||
|
||||
|
||||
class ReloadTests(unittest.TestCase):
|
||||
|
|
Loading…
Reference in a new issue