Skip to content

Commit e5b5eeb

Browse files
committed
Move tests requirements into txt file
1 parent 717ca3a commit e5b5eeb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def read(fname):
5757
"six>=1.0,<2.0",
5858
"colorama>=0.3,<0.5",
5959
],
60-
tests_require=["mock>=2", "pytest>=3"],
60+
tests_require=read("test_requirements.txt").splitlines(),
6161
extras_require={
6262
"pyocd": ["pyocd==0.14.0"]
6363
},

test_requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
coverage
2-
coveralls
3-
mock>=2
1+
coverage>=4,<5
2+
coveralls>=1,<2
3+
mock>=2,<4
4+
pytest>=3,<5

0 commit comments

Comments
 (0)