Skip to content

Commit

Permalink
updating python version
Browse files Browse the repository at this point in the history
  • Loading branch information
labhvam5 committed Oct 20, 2023
1 parent 8911be6 commit 720c445
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Pull python base image
FROM python:3.7.4-slim
FROM python:3.10-slim

# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
Expand Down
9 changes: 0 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,6 @@ def default_session_fixture(request):
)
patched_5.__enter__()

def unpatch():
patched_1.__exit__()
patched_2.__exit__()
patched_3.__exit__()
patched_4.__exit__()
patched_5.__exit__()

request.addfinalizer(unpatch)


@pytest.fixture()
def test_connection(db):
Expand Down

0 comments on commit 720c445

Please sign in to comment.