python3Packages.pygments: enable tests
this requires a similar trick as used by hypothesis to get around pytest circular dependency
This commit is contained in:
@@ -6415,18 +6415,24 @@ in {
|
||||
|
||||
pytest_5 = callPackage
|
||||
../development/python-modules/pytest/5.nix {
|
||||
# hypothesis tests require pytest that causes dependency cycle
|
||||
# hypothesis & pygments tests require pytest that causes dependency cycle
|
||||
hypothesis = self.hypothesis.override {
|
||||
doCheck = false;
|
||||
};
|
||||
pygments = self.pygments.override {
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
pytest_6 =
|
||||
callPackage ../development/python-modules/pytest {
|
||||
# hypothesis tests require pytest that causes dependency cycle
|
||||
# hypothesis & pygments tests require pytest that causes dependency cycle
|
||||
hypothesis = self.hypothesis.override {
|
||||
doCheck = false;
|
||||
};
|
||||
pygments = self.pygments.override {
|
||||
doCheck = false;
|
||||
};
|
||||
};
|
||||
|
||||
pytest_6_1 = self.pytest_6.overridePythonAttrs (oldAttrs: rec {
|
||||
|
||||
Reference in New Issue
Block a user