@@ -22,7 +22,8 @@ def setUp(self):
2222 def load_module (self , fullname ):
2323 return self .loader .load_module (fullname )
2424
25- @unittest .skip ("TODO: RUSTPYTHON, AttributeError: 'NoneType' object has no attribute 'rpartition'" )
25+ # TODO: RUSTPYTHON
26+ @unittest .expectedFailure
2627 def test_load_module_API (self ):
2728 # Test the default argument for load_module().
2829 self .loader .load_module ()
@@ -59,7 +60,8 @@ def test_module(self):
5960 # No extension module in a package available for testing.
6061 test_lacking_parent = None
6162
62- @unittest .skip ("TODO: RUSTPYTHON, AttributeError: 'NoneType' object has no attribute 'rpartition'" )
63+ # TODO: RUSTPYTHON
64+ @unittest .expectedFailure
6365 def test_module_reuse (self ):
6466 with util .uncache (util .EXTENSIONS .name ):
6567 module1 = self .load_module (util .EXTENSIONS .name )
@@ -75,7 +77,8 @@ def test_unloadable(self):
7577 self .load_module (name )
7678 self .assertEqual (cm .exception .name , name )
7779
78- @unittest .skip ("TODO: RUSTPYTHON, AttributeError: 'NoneType' object has no attribute 'rpartition'" )
80+ # TODO: RUSTPYTHON
81+ @unittest .expectedFailure
7982 def test_is_package (self ):
8083 self .assertFalse (self .loader .is_package (util .EXTENSIONS .name ))
8184 for suffix in self .machinery .EXTENSION_SUFFIXES :
0 commit comments