Skip to content

Commit

Permalink
Update test_warning_when_using_inject_attr.py (#385)
Browse files Browse the repository at this point in the history
* Update test_warning_when_using_inject_attr.py

* black
  • Loading branch information
hf-kklein authored Dec 20, 2023
1 parent b23c799 commit 21a25e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unittests/test_warning_when_using_inject_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class SomethingInjectable:


class RcEvaluatorThatUsesInjectAttr(EmptyDefaultRcEvaluator):
something_injectable = inject.attr(SomethingInjectable) # this won't work and the test proves it
# this won't work and the test proves it
something_injectable: SomethingInjectable = inject.attr(SomethingInjectable)


class TestErrorWhenUsingInjectAttr:
Expand Down

0 comments on commit 21a25e3

Please sign in to comment.