Skip to content

Commit

Permalink
Only add importlib_metadata on Python<=3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexcles committed Dec 14, 2020
1 parent 499f78a commit 2cccdf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/localpaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
sys.path.insert(0, os.path.join(here, "third_party", "hyperframe"))
sys.path.insert(0, os.path.join(here, "third_party", "certifi"))
sys.path.insert(0, os.path.join(here, "third_party", "hyper"))
sys.path.insert(0, os.path.join(here, "third_party", "importlib_metadata"))
if sys.version_info < (3, 8):
sys.path.insert(0, os.path.join(here, "third_party", "importlib_metadata"))
sys.path.insert(0, os.path.join(here, "webdriver"))
sys.path.insert(0, os.path.join(here, "wptrunner"))

Expand Down

0 comments on commit 2cccdf9

Please sign in to comment.