17
0

Accepting request 866343 from devel:languages:python

- Remove some tests which do not work on python3.6 flavor due to missing files.

OBS-URL: https://build.opensuse.org/request/show/866343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyannotate?expand=0&rev=7
This commit is contained in:
2021-01-25 17:24:05 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 24 09:53:37 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Remove some tests which do not work on python3.6 flavor due to missing files.
-------------------------------------------------------------------
Mon May 18 20:40:57 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyannotate
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -49,6 +49,7 @@ arguments and return types observed at runtime.
%prep
%setup -q -n pyannotate-%{version}
rm example/.gitignore
%build
%python_build
@@ -59,6 +60,8 @@ arguments and return types observed at runtime.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# python3.6 is missing the lib2to3.tests module, so we can't test that for all flavors :/
rm -r pyannotate_tools/fixes/tests/
%pytest
%post