summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-01-28 16:08:28 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-01-28 16:08:28 +0000
commit13662fa3287b6cea2d65675ce1bac79ac828998c (patch)
tree4924e2b3f49b465fa742e005a36313b6df63c3e9
parent8e22c358b7abefb24c4f48351e5499649271232a (diff)
automatic import of python-pyrfc3339HEADmasterepel9epel8
-rw-r--r--python-pyrfc3339.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/python-pyrfc3339.spec b/python-pyrfc3339.spec
index a463afc..25bd414 100644
--- a/python-pyrfc3339.spec
+++ b/python-pyrfc3339.spec
@@ -25,7 +25,7 @@ BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
# --- unit tests ---
-BuildRequires: python-nose
+BuildRequires: pytest
BuildRequires: pytz
%endif
@@ -77,10 +77,11 @@ RFC 3339-compliant timestamps using Python datetime.datetime objects.
%check
cp -a %{SOURCE1} .
%if %{with python2}
-nosetests-2.7 tests.py
-%endif
-#nose2-%{python3_version} tests.py
+py.test-2.7 -v tests.py
+pytest-3 -v tests.py
+%else
%pytest -v tests.py
+%endif
%if %{with python2}
%files -n python2-pyrfc3339
@@ -98,6 +99,9 @@ nosetests-2.7 tests.py
%changelog
+* Fri Jan 28 2022 Matthew Davis <fedoraproject@virtual.drop.net> - 1.1-11
+- Converted tests from python-nose to pytest
+
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild