@@ -1498,6 +1498,8 @@ def test_strftime(self):
14981498 # bpo-41260: The parameter was named "fmt" in the pure python impl.
14991499 t .strftime (format = "%f" )
15001500
1501+ # TODO: RUSTPYTHON
1502+ @unittest .expectedFailure
15011503 def test_strftime_trailing_percent (self ):
15021504 # bpo-35066: Make sure trailing '%' doesn't cause datetime's strftime to
15031505 # complain. Different libcs have different handling of trailing
@@ -1598,6 +1600,8 @@ def test_pickling(self):
15981600 self .assertEqual (orig , derived )
15991601 self .assertEqual (orig .__reduce__ (), orig .__reduce_ex__ (2 ))
16001602
1603+ # TODO: RUSTPYTHON
1604+ @unittest .expectedFailure
16011605 def test_compat_unpickle (self ):
16021606 tests = [
16031607 b"cdatetime\n date\n (S'\\ x07\\ xdf\\ x0b\\ x1b'\n tR." ,
@@ -2365,6 +2369,8 @@ def test_pickling_subclass_datetime(self):
23652369 self .assertEqual (orig , derived )
23662370 self .assertTrue (isinstance (derived , SubclassDatetime ))
23672371
2372+ # TODO: RUSTPYTHON
2373+ @unittest .expectedFailure
23682374 def test_compat_unpickle (self ):
23692375 tests = [
23702376 b'cdatetime\n datetime\n ('
@@ -2937,6 +2943,8 @@ def newmeth(self, start):
29372943 self .assertEqual (dt2 .newmeth (- 7 ), dt1 .year + dt1 .month +
29382944 dt1 .second - 7 )
29392945
2946+ # TODO: RUSTPYTHON
2947+ @unittest .expectedFailure
29402948 def test_subclass_alternate_constructors_datetime (self ):
29412949 # Test that alternate constructors call the constructor
29422950 class DateTimeSubclass (self .theclass ):
@@ -3635,6 +3643,8 @@ def test_pickling_subclass_time(self):
36353643 self .assertEqual (orig , derived )
36363644 self .assertTrue (isinstance (derived , SubclassTime ))
36373645
3646+ # TODO: RUSTPYTHON
3647+ @unittest .expectedFailure
36383648 def test_compat_unpickle (self ):
36393649 tests = [
36403650 (b"cdatetime\n time\n (S'\\ x14;\\ x10\\ x00\\ x10\\ x00'\n tR." ,
@@ -4029,6 +4039,8 @@ def test_pickling(self):
40294039 self .assertEqual (derived .tzname (), 'cookie' )
40304040 self .assertEqual (orig .__reduce__ (), orig .__reduce_ex__ (2 ))
40314041
4042+ # TODO: RUSTPYTHON
4043+ @unittest .expectedFailure
40324044 def test_compat_unpickle (self ):
40334045 tests = [
40344046 b"cdatetime\n time\n (S'\\ x05\\ x06\\ x07\\ x01\\ xe2@'\n "
@@ -4481,6 +4493,8 @@ def test_pickling(self):
44814493 self .assertEqual (derived .tzname (), 'cookie' )
44824494 self .assertEqual (orig .__reduce__ (), orig .__reduce_ex__ (2 ))
44834495
4496+ # TODO: RUSTPYTHON
4497+ @unittest .expectedFailure
44844498 def test_compat_unpickle (self ):
44854499 tests = [
44864500 b'cdatetime\n datetime\n '
@@ -5443,6 +5457,8 @@ def test_bug_1028306(self):
54435457 self .assertEqual (as_datetime , datetime_sc )
54445458 self .assertEqual (datetime_sc , as_datetime )
54455459
5460+ # TODO: RUSTPYTHON
5461+ @unittest .expectedFailure
54465462 def test_extra_attributes (self ):
54475463 with self .assertWarns (DeprecationWarning ):
54485464 utcnow = datetime .utcnow ()
0 commit comments