We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed this behavior:
# a.py def make_tests(a, b) @test("{a} + {b} = {b} + {a}") def _(a=a, b=b): assert a + b == b + a @test("{a} * 2 == {a} + {a}") def _(a=a): assert a * 2 == a + a
# b.py make_tests(2, 3) make_tests(4, 8)
Doesn't detect the tests.
It appears to be caused by this line in testing.py:
is_home_module: bool = "." not in module_name if is_test_module_name(module_name) and is_home_module:
@darrenburns I'm wondering what's the reason for this? Why do the tests have to be declared in the home module?
Is there any other way to do this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed this behavior:
Doesn't detect the tests.
It appears to be caused by this line in testing.py:
@darrenburns I'm wondering what's the reason for this? Why do the tests have to be declared in the home module?
Is there any other way to do this?
The text was updated successfully, but these errors were encountered: