You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once #297 is fixed, there are a couple of failures. This one is a behavior change in typing.Iterable.
======================================================================
ERROR: test_basic_pass_19 (libcst.tests.test_type_enforce.TypeEnforcementTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/code/LibCST/libcst/testing/utils.py", line 89, in new_test
return member(self, *data)
File "/home/tim/code/LibCST/libcst/tests/test_type_enforce.py", line 135, in test_basic_pass
is_value_of_type(value, expected_type),
File "/home/tim/code/LibCST/libcst/_type_enforce.py", line 136, in is_value_of_type
elif issubclass(expected_origin_type, Iterable) and not issubclass(
TypeError: issubclass() arg 1 must be a class
It appears to be a difference in typing_inspect.get_origin.
The text was updated successfully, but these errors were encountered:
Once #297 is fixed, there are a couple of failures. This one is a behavior change in
typing.Iterable
.It appears to be a difference in
typing_inspect.get_origin
.The text was updated successfully, but these errors were encountered: