File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
pkgs/development/python-modules/pytest-examples Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- black ,
43 buildPythonPackage ,
54 fetchFromGitHub ,
65 hatchling ,
76 pytest ,
8- pytestCheckHook ,
9- pythonOlder ,
7+ black ,
108 ruff ,
9+ pytestCheckHook ,
1110} :
1211
1312buildPythonPackage rec {
1413 pname = "pytest-examples" ;
1514 version = "0.0.15" ;
1615 pyproject = true ;
1716
18- disabled = pythonOlder "3.8" ;
19-
2017 src = fetchFromGitHub {
2118 owner = "pydantic" ;
2219 repo = "pytest-examples" ;
@@ -39,6 +36,13 @@ buildPythonPackage rec {
3936
4037 pythonImportsCheck = [ "pytest_examples" ] ;
4138
39+ disabledTests = [
40+ # Fails with AssertionError because formatting is different than expected
41+ "test_black_error"
42+ "test_black_error_dot_space"
43+ "test_black_error_multiline"
44+ ] ;
45+
4246 meta = {
4347 description = "Pytest plugin for testing examples in docstrings and markdown files" ;
4448 homepage = "https://github.com/pydantic/pytest-examples" ;
You can’t perform that action at this time.
0 commit comments