@@ -398,8 +398,6 @@ def test_aware_datetime(self):
398398 self .assertEqual (tz .dst (t ),
399399 t .replace (tzinfo = tz ).dst ())
400400
401- @unittest .skip ('TODO: RUSTPYTHON' )
402- # _pycodecs was deleted
403401 def test_pickle (self ):
404402 for tz in self .ACDT , self .EST , timezone .min , timezone .max :
405403 for pickler , unpickler , proto in pickle_choices :
@@ -1521,8 +1519,7 @@ def test_strftime(self):
15211519 # bpo-41260: The parameter was named "fmt" in the pure python impl.
15221520 t .strftime (format = "%f" )
15231521
1524- # TODO: RUSTPYTHON
1525- @unittest .expectedFailure
1522+ @unittest .expectedFailure # TODO: RUSTPYTHON
15261523 def test_strftime_trailing_percent (self ):
15271524 # bpo-35066: Make sure trailing '%' doesn't cause datetime's strftime to
15281525 # complain. Different libcs have different handling of trailing
@@ -1623,8 +1620,7 @@ def test_pickling(self):
16231620 self .assertEqual (orig , derived )
16241621 self .assertEqual (orig .__reduce__ (), orig .__reduce_ex__ (2 ))
16251622
1626- # TODO: RUSTPYTHON
1627- @unittest .expectedFailure
1623+ @unittest .expectedFailure # TODO: RUSTPYTHON
16281624 def test_compat_unpickle (self ):
16291625 tests = [
16301626 b"cdatetime\n date\n (S'\\ x07\\ xdf\\ x0b\\ x1b'\n tR." ,
@@ -2411,8 +2407,7 @@ def test_pickling_subclass_datetime(self):
24112407 self .assertEqual (orig , derived )
24122408 self .assertTrue (isinstance (derived , SubclassDatetime ))
24132409
2414- # TODO: RUSTPYTHON
2415- @unittest .expectedFailure
2410+ @unittest .expectedFailure # TODO: RUSTPYTHON
24162411 def test_compat_unpickle (self ):
24172412 tests = [
24182413 b'cdatetime\n datetime\n ('
@@ -3773,8 +3768,7 @@ def test_pickling_subclass_time(self):
37733768 self .assertEqual (orig , derived )
37743769 self .assertTrue (isinstance (derived , SubclassTime ))
37753770
3776- # TODO: RUSTPYTHON
3777- @unittest .expectedFailure
3771+ @unittest .expectedFailure # TODO: RUSTPYTHON
37783772 def test_compat_unpickle (self ):
37793773 tests = [
37803774 (b"cdatetime\n time\n (S'\\ x14;\\ x10\\ x00\\ x10\\ x00'\n tR." ,
@@ -4192,8 +4186,7 @@ def test_pickling(self):
41924186 self .assertEqual (derived .tzname (), 'cookie' )
41934187 self .assertEqual (orig .__reduce__ (), orig .__reduce_ex__ (2 ))
41944188
4195- # TODO: RUSTPYTHON
4196- @unittest .expectedFailure
4189+ @unittest .expectedFailure # TODO: RUSTPYTHON
41974190 def test_compat_unpickle (self ):
41984191 tests = [
41994192 b"cdatetime\n time\n (S'\\ x05\\ x06\\ x07\\ x01\\ xe2@'\n "
@@ -4659,8 +4652,7 @@ def test_pickling(self):
46594652 self .assertEqual (derived .tzname (), 'cookie' )
46604653 self .assertEqual (orig .__reduce__ (), orig .__reduce_ex__ (2 ))
46614654
4662- # TODO: RUSTPYTHON
4663- @unittest .expectedFailure
4655+ @unittest .expectedFailure # TODO: RUSTPYTHON
46644656 def test_compat_unpickle (self ):
46654657 tests = [
46664658 b'cdatetime\n datetime\n '
0 commit comments