Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only test signatures of the C implementation.
  • Loading branch information
serhiy-storchaka committed Aug 9, 2025
commit e39b7d655d0aeb31acd2c0a2f48ffeee3bace1ba
2 changes: 2 additions & 0 deletions Lib/test/test_inspect/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -5832,6 +5832,8 @@ def test_collections_abc_module_has_signatures(self):
self._test_module_has_signatures(collections.abc)

def test_datetime_module_has_signatures(self):
# Only test if the C implementation is available.
support.import_module('_datetime')
import datetime
no_signature = {'tzinfo'}
unsupported_signature = {'timezone'}
Expand Down
Loading