Skip to content

Commit 17a31fc

Browse files
committed
🔥 Removes code I never meant to commit
1 parent 4c67912 commit 17a31fc

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

noxfile.py

-29
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,3 @@ def tests_drf(session: nox.Session, django: str, drf: str) -> None:
3434
session.install(f"django~={django}")
3535
session.install(f"djangorestframework~={drf}")
3636
session.run("pytest", *session.posargs)
37-
38-
39-
@nox.session
40-
@nox.parametrize(
41-
"env", [
42-
("3.9", "3.2", None),
43-
("3.9", "4.2", None),
44-
("3.9", "3.2", "3.12"),
45-
("3.9", "4.2", "3.12"),
46-
]
47-
)
48-
def tests_env(session, env):
49-
python_version, django_version, drf_version = env
50-
# Specify the Python version for the session
51-
session.python = python_version
52-
53-
# # Install Django
54-
# session.install(f"Django=={django_version}")
55-
56-
# # Install DRF if specified
57-
# if drf_version:
58-
# session.install(f"djangorestframework=={drf_version}")
59-
60-
# # Additional dependencies
61-
# # session.install('pytest', 'pytest-django')
62-
63-
# # Run your tests
64-
# session.run("pytest")
65-
session.run("python", "--version")

0 commit comments

Comments
 (0)