python3Packages.faker: fix tests, remove random2
This commit is contained in:
parent
9a885384da
commit
df11a2851c
@ -6,7 +6,7 @@
|
||||
, freezegun
|
||||
, mock
|
||||
, more-itertools
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pytestrunner
|
||||
, ukpostcodeparser
|
||||
, validators
|
||||
@ -27,13 +27,18 @@ buildPythonPackage rec {
|
||||
checkInputs = [
|
||||
email_validator
|
||||
freezegun
|
||||
pytest
|
||||
pytestCheckHook
|
||||
ukpostcodeparser
|
||||
validators
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.3") [ mock ]
|
||||
++ lib.optionals (pythonOlder "3.0") [ more-itertools ];
|
||||
|
||||
# avoid tests which import random2, an abandoned library
|
||||
pytestFlagsArray = [
|
||||
"--ignore=tests/providers/test_ssn.py"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dateutil
|
||||
six
|
||||
|
Loading…
x
Reference in New Issue
Block a user