From db513afc6ddc9493018e6c617a514a29f8f0da34 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 11 Aug 2019 17:27:52 +0200 Subject: [PATCH 1/2] Add maths/test_prime_check.py --- maths/test_prime_check.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 maths/test_prime_check.py diff --git a/maths/test_prime_check.py b/maths/test_prime_check.py new file mode 100644 index 000000000000..f3d95e4dbba0 --- /dev/null +++ b/maths/test_prime_check.py @@ -0,0 +1,3 @@ +from .prime_check import Test + +Test() From 0ad745a7e74a85df1960a1da71c477f16475dc1c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 13 Aug 2019 10:50:43 +0200 Subject: [PATCH 2/2] Add comments on why this file is required --- maths/test_prime_check.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maths/test_prime_check.py b/maths/test_prime_check.py index f3d95e4dbba0..b6389684af9e 100644 --- a/maths/test_prime_check.py +++ b/maths/test_prime_check.py @@ -1,3 +1,8 @@ +""" +Minimalist file that allows pytest to find and run the Test unittest. For details, see: +http://doc.pytest.org/en/latest/goodpractices.html#conventions-for-python-test-discovery +""" + from .prime_check import Test Test()