mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
dateutil: Enable failing test (#11612)
This commit is contained in:
@@ -10,8 +10,7 @@ class MyDateTime(datetime):
|
||||
|
||||
d = MyDateTime.now()
|
||||
x = d - relativedelta(days=1)
|
||||
# https://github.com/python/typeshed/pull/11463
|
||||
# assert_type(x, MyDateTime)
|
||||
assert_type(x, MyDateTime)
|
||||
|
||||
d3 = datetime.today()
|
||||
x3 = d3 - relativedelta(days=1)
|
||||
|
||||
Reference in New Issue
Block a user