From 44a0c2788d6d60205dd0d8a7c7110f7126d9eced Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 3 Feb 2019 01:29:12 +0100 Subject: [PATCH] Add failing test --- test_bad.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test_bad.py diff --git a/test_bad.py b/test_bad.py new file mode 100644 index 0000000..d60c4e6 --- /dev/null +++ b/test_bad.py @@ -0,0 +1,7 @@ +# Adapted from the test_sample.py example in the pytest documentation + +def inc(x): + return x - 1 + +def test_answer(): + assert inc(3) == 4