Skip to content

Commit

Permalink
fighting test machine ghost
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Sep 25, 2024
1 parent c6667d0 commit 7698fa2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,16 @@ def test_annotated(self):
self.assertTrue(d[""]["test2"].update(" "))


class TestAnnotation(TestAbstract):
class TestTagAnnotation(TestAbstract):
""" Tests tag annotation. """
# The class name could not be 'TestAnnotation', nor 'TestAnnotation2'. If so, another test on github failed with
# StopIteration / During handling of the above exception, another exception occurred:
# File "/opt/hostedtoolcache/Python/3.12.6/x64/lib/python3.12/unittest/result.py", line 226, in _clean_tracebacks
# value.__traceback__ = tb
# /opt/hostedtoolcache/Python/3.12.6/x64/lib/python3.12/unittest/result.py", line 226
# File "<string>", line 4, in __setattr__
# dataclasses.FrozenInstanceError: cannot assign to field '__traceback__'
# On local machine, all the tests went fine.

def test_type_discovery(self):
def _(compared, annotation):
Expand Down

0 comments on commit 7698fa2

Please sign in to comment.