Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Commit 403451a

Browse files
committed
Support Python 3.9 in packaging tests
1 parent c026742 commit 403451a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/unit/test_packaging.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
import re
33
import unittest
44

5-
import tomllib
5+
try:
6+
import tomllib
7+
except ModuleNotFoundError: # pragma: no cover - Python < 3.11
8+
import tomli as tomllib
69

710
import defectdojo_api_generated
811

0 commit comments

Comments
 (0)