Skip to content

Commit 8ef5063

Browse files
committed
removed test for python version
1 parent 7950f42 commit 8ef5063

File tree

2 files changed

+0
-19
lines changed
  • .learn/exercises

2 files changed

+0
-19
lines changed

.learn/exercises/02-pipenv-installation/test.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

.learn/exercises/02.1-flask-installation/test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
def test_pipfile_exists():
55
assert os.path.isfile("Pipfile")
66

7-
@pytest.mark.it("Python version on Pipfile must be 3+")
8-
def test_pipfile_contains_python_version():
9-
with open("Pipfile", "r") as f:
10-
toml_content = f.read()
11-
parsed_toml = toml.loads(toml_content)
12-
assert parsed_toml["requires"]["python_version"][0:2] == "3."
13-
147
@pytest.mark.it("Flask must exist on the pipfile dependency [packages]")
158
def test_pipfile_contains_flask():
169
with open("Pipfile", "r") as f:

0 commit comments

Comments
 (0)