Unskip tests

This commit is contained in:
Noah committed 2021-04-11 17:38:44 -05:00
1 parent 1b3408f00d
commit 501c555c54
4 files changed
-18

No files matched your search

-6
View File
@@ -103,8 +103,6 @@ class ImportTests(unittest.TestCase):
self.assertEqual(fp.readline(),
'"""Tokenization help for Python programs.\n')
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_issue3594(self):
temp_mod_name = 'test_imp_helper'
sys.path.insert(0, '.')
@@ -119,8 +117,6 @@ class ImportTests(unittest.TestCase):
support.unlink(temp_mod_name + '.py')
support.unlink(temp_mod_name + '.pyc')
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_issue5604(self):
# Test cannot cover imp.load_compiled function.
# Martin von Loewis note what shared library cannot have non-ascii
@@ -215,8 +211,6 @@ class ImportTests(unittest.TestCase):
self.assertRaises(SyntaxError,
imp.find_module, "badsyntax_pep3120", [path])
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_load_from_source(self):
# Verify that the imp module can correctly load and find .py files
# XXX (ncoghlan): It would be nice to use support.CleanImport
@@ -61,8 +61,6 @@ class ImportlibUseCache(UseCache, unittest.TestCase):
# __import__ inconsistent between loaders and built-in import when it comes
# to when to use the module in sys.modules and when not to.
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_using_cache_after_loader(self):
# [from cache on return]
with self.create_mock('module') as mock:
@@ -71,8 +69,6 @@ class ImportlibUseCache(UseCache, unittest.TestCase):
self.assertEqual(id(module), id(sys.modules['module']))
# See test_using_cache_after_loader() for reasoning.
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_using_cache_for_assigning_to_attribute(self):
# [from cache to attribute]
with self.create_mock('pkg.__init__', 'pkg.module') as importer:
@@ -83,8 +79,6 @@ class ImportlibUseCache(UseCache, unittest.TestCase):
id(sys.modules['pkg.module']))
# See test_using_cache_after_loader() for reasoning.
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_using_cache_for_fromlist(self):
# [from cache for fromlist]
with self.create_mock('pkg.__init__', 'pkg.module') as importer:
@@ -67,8 +67,6 @@ class CallSignature:
return fxn(*args, **kwargs)
return log, wrapper
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_no_path(self):
# [no path]
mod_name = 'top_level'
@@ -84,8 +82,6 @@ class CallSignature:
self.assertEqual(args[0], mod_name)
self.assertIsNone(args[1])
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_with_path(self):
# [path set]
pkg_name = 'pkg'
-2
View File
@@ -1769,8 +1769,6 @@ class _PosixSpawnMixin:
support.wait_process(pid, exitcode=-signal.SIGUSR1)
# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_setsigdef_wrong_type(self):
with self.assertRaises(TypeError):
self.spawn_func(sys.executable,