@@ -1703,8 +1703,6 @@ def test_inconsistent_converters_state(self):
17031703class ExceptionPicklingTestCase (unittest .TestCase ):
17041704 """Tests for issue #13760: ConfigParser exceptions are not picklable."""
17051705
1706- # TODO: RUSTPYTHON Exception.__reduce__ missing.
1707- @unittest .expectedFailure
17081706 def test_error (self ):
17091707 import pickle
17101708 e1 = configparser .Error ('value' )
@@ -1714,8 +1712,6 @@ def test_error(self):
17141712 self .assertEqual (e1 .message , e2 .message )
17151713 self .assertEqual (repr (e1 ), repr (e2 ))
17161714
1717- # TODO: RUSTPYTHON
1718- @unittest .expectedFailure
17191715 def test_nosectionerror (self ):
17201716 import pickle
17211717 e1 = configparser .NoSectionError ('section' )
@@ -1727,8 +1723,6 @@ def test_nosectionerror(self):
17271723 self .assertEqual (e1 .section , e2 .section )
17281724 self .assertEqual (repr (e1 ), repr (e2 ))
17291725
1730- # TODO: RUSTPYTHON
1731- @unittest .expectedFailure
17321726 def test_nooptionerror (self ):
17331727 import pickle
17341728 e1 = configparser .NoOptionError ('option' , 'section' )
@@ -1741,8 +1735,6 @@ def test_nooptionerror(self):
17411735 self .assertEqual (e1 .option , e2 .option )
17421736 self .assertEqual (repr (e1 ), repr (e2 ))
17431737
1744- # TODO: RUSTPYTHON
1745- @unittest .expectedFailure
17461738 def test_duplicatesectionerror (self ):
17471739 import pickle
17481740 e1 = configparser .DuplicateSectionError ('section' , 'source' , 123 )
@@ -1756,8 +1748,6 @@ def test_duplicatesectionerror(self):
17561748 self .assertEqual (e1 .lineno , e2 .lineno )
17571749 self .assertEqual (repr (e1 ), repr (e2 ))
17581750
1759- # TODO: RUSTPYTHON
1760- @unittest .expectedFailure
17611751 def test_duplicateoptionerror (self ):
17621752 import pickle
17631753 e1 = configparser .DuplicateOptionError ('section' , 'option' , 'source' ,
@@ -1773,8 +1763,6 @@ def test_duplicateoptionerror(self):
17731763 self .assertEqual (e1 .lineno , e2 .lineno )
17741764 self .assertEqual (repr (e1 ), repr (e2 ))
17751765
1776- # TODO: RUSTPYTHON
1777- @unittest .expectedFailure
17781766 def test_interpolationerror (self ):
17791767 import pickle
17801768 e1 = configparser .InterpolationError ('option' , 'section' , 'msg' )
@@ -1787,8 +1775,6 @@ def test_interpolationerror(self):
17871775 self .assertEqual (e1 .option , e2 .option )
17881776 self .assertEqual (repr (e1 ), repr (e2 ))
17891777
1790- # TODO: RUSTPYTHON
1791- @unittest .expectedFailure
17921778 def test_interpolationmissingoptionerror (self ):
17931779 import pickle
17941780 e1 = configparser .InterpolationMissingOptionError ('option' , 'section' ,
@@ -1803,8 +1789,6 @@ def test_interpolationmissingoptionerror(self):
18031789 self .assertEqual (e1 .reference , e2 .reference )
18041790 self .assertEqual (repr (e1 ), repr (e2 ))
18051791
1806- # TODO: RUSTPYTHON
1807- @unittest .expectedFailure
18081792 def test_interpolationsyntaxerror (self ):
18091793 import pickle
18101794 e1 = configparser .InterpolationSyntaxError ('option' , 'section' , 'msg' )
@@ -1817,8 +1801,6 @@ def test_interpolationsyntaxerror(self):
18171801 self .assertEqual (e1 .option , e2 .option )
18181802 self .assertEqual (repr (e1 ), repr (e2 ))
18191803
1820- # TODO: RUSTPYTHON
1821- @unittest .expectedFailure
18221804 def test_interpolationdeptherror (self ):
18231805 import pickle
18241806 e1 = configparser .InterpolationDepthError ('option' , 'section' ,
@@ -1832,8 +1814,6 @@ def test_interpolationdeptherror(self):
18321814 self .assertEqual (e1 .option , e2 .option )
18331815 self .assertEqual (repr (e1 ), repr (e2 ))
18341816
1835- # TODO: RUSTPYTHON
1836- @unittest .expectedFailure
18371817 def test_parsingerror (self ):
18381818 import pickle
18391819 e1 = configparser .ParsingError ('source' )
@@ -1861,8 +1841,6 @@ def test_parsingerror(self):
18611841 self .assertEqual (e1 .errors , e2 .errors )
18621842 self .assertEqual (repr (e1 ), repr (e2 ))
18631843
1864- # TODO: RUSTPYTHON
1865- @unittest .expectedFailure
18661844 def test_missingsectionheadererror (self ):
18671845 import pickle
18681846 e1 = configparser .MissingSectionHeaderError ('filename' , 123 , 'line' )
0 commit comments