Skip to content

Commit 224d26c

Browse files
committed
fix(pytest): remove deprecated package check
1 parent d108e55 commit 224d26c

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

allure-pytest/setup.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
import os
2-
import sys
32
from setuptools import setup
4-
from pkg_resources import require, DistributionNotFound, VersionConflict
5-
6-
try:
7-
require("pytest-allure-adaptor")
8-
print("""
9-
You have pytest-allure-adaptor installed.
10-
You need to remove pytest-allure-adaptor from your site-packages
11-
before installing allure-pytest, or conflicts may result.
12-
""")
13-
sys.exit()
14-
except (DistributionNotFound, VersionConflict):
15-
pass
163

174
PACKAGE = "allure-pytest"
185

0 commit comments

Comments
 (0)