Skip to content

Commit 31355f3

Browse files
paolostivaninsebastinas
authored andcommitted
Remove nose
1 parent ffad3f0 commit 31355f3

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install "blessings>=1.5" "wcwidth>=0.1.4" pyte nose
25+
pip install "blessings>=1.5" "wcwidth>=0.1.4" pyte pytest
2626
- name: Build with Python ${{ matrix.python-version }}
2727
run: |
2828
python setup.py build
29-
- name: Test with nosetest
29+
- name: Test with pytest
3030
run: |
31-
nosetests .
31+
pytest -s .

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[nosetests]
2-
with-doctest=1
3-
cover-package=curtsies
4-
cover-html=1
51
[bdist_wheel]
62
universal = 1
73
[mypy]

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ def version():
1111
if line.startswith("__version__"):
1212
return ast.parse(line).body[0].value.s
1313

14+
1415
def long_description():
1516
with open("readme.md", encoding="utf-8") as f:
1617
return f.read()
1718

19+
1820
setup(
1921
name="curtsies",
2022
version=version(),
@@ -28,9 +30,12 @@ def long_description():
2830
packages=["curtsies"],
2931
install_requires=[
3032
"blessings>=1.5",
31-
"wcwidth>=0.1.4"
33+
"wcwidth>=0.1.4",
34+
],
35+
tests_require=[
36+
"pyte",
37+
"pytest",
3238
],
33-
tests_require=["pyte", "nose",],
3439
classifiers=[
3540
"Development Status :: 3 - Alpha",
3641
"Environment :: Console",

0 commit comments

Comments
 (0)