mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
dateutil: Enable failing test (#11612)
This commit is contained in:
1 parent
45f96fe343
commit
8acc85dbab
1 file changed
+1
-2
@@ -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