stubtest: fix on windows (#4455)

Co-authored-by: Akuli
This commit is contained in:
ShantanuandAkuli authored and GitHub committed 2020-08-17 14:55:58 -07:00
1 parent e9ecea0033
commit f23ce60668
3 files changed
+7 -5

No files matched your search

+5 -4
View File
@@ -69,10 +69,11 @@ if sys.version_info >= (3, 3):
],
_arg: Any = ...,
) -> struct_time: ...
@property
def tm_zone(self) -> str: ...
@property
def tm_gmtoff(self) -> int: ...
if sys.version_info >= (3, 6) or sys.platform != "win32":
@property
def tm_zone(self) -> str: ...
@property
def tm_gmtoff(self) -> int: ...
else:
class struct_time(_struct_time):