Skip to content

Commit

Permalink
Merge pull request #10 from mgorny/importlib-resources
Browse files Browse the repository at this point in the history
Force using importlib_resources in Python < 3.9
  • Loading branch information
jaraco authored Feb 23, 2022
2 parents f83e54a + 7a5274c commit 765dcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cssutils/tests/basetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import sys
import unittest

try:
if sys.version_info >= (3, 9):
from importlib import resources
except ImportError:
else:
import importlib_resources as resources

import cssutils
Expand Down

0 comments on commit 765dcc5

Please sign in to comment.