From d47cddee2436c063518485e01e9daf3ab191cb36 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Fri, 2 Aug 2019 14:54:40 -0700 Subject: [PATCH] Clean up extraneous files in `tests` --- tests/README.md | 1 - tests/test_example.py | 11 ----------- 2 files changed, 12 deletions(-) delete mode 100644 tests/README.md delete mode 100644 tests/test_example.py diff --git a/tests/README.md b/tests/README.md deleted file mode 100644 index ccde39c5..00000000 --- a/tests/README.md +++ /dev/null @@ -1 +0,0 @@ -pytest gathers tests according to a naming convention. By default any file that is to contain tests must be named starting with test_ and any function in a file that should be treated as a test must also start with test_. diff --git a/tests/test_example.py b/tests/test_example.py deleted file mode 100644 index 43875ccd..00000000 --- a/tests/test_example.py +++ /dev/null @@ -1,11 +0,0 @@ -import pytest - - -@pytest.mark.parametrize("test_input,expected", [("3+5", 8), ("2+4", 6), ("6*9", 54)]) -def test_eval(test_input, expected): - assert eval(test_input) == expected - - -@pytest.mark.parametrize("test_input,expected", [("3+5", 8), ("2+4", 6), ("6*5", 30)]) -def test_eval2(test_input, expected): - assert eval(test_input) == expected