Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37863295
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-distlib

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: python3-module-distlib-0.3.7-alt.patch
Скачать


 tests/test_manifest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_manifest.py b/tests/test_manifest.py
index 2a7466a..89a50b1 100644
--- a/tests/test_manifest.py
+++ b/tests/test_manifest.py
@@ -105,7 +105,7 @@ class ManifestTestCase(DistlibTestCase):
     def test_exclude_regex_str(self):
         mf = self.manifest
         mf.process_directive('global-include *.txt')
-        mf._exclude_pattern(r'R.*\.txt', is_regex=True)
+        mf._exclude_pattern(r'RE.*\.txt', is_regex=True)
         actual = self.get_files(mf.files)
         expected = set([
             os.path.join('keep', 'keep.txt'),
@@ -117,7 +117,7 @@ class ManifestTestCase(DistlibTestCase):
     def test_exclude_regex_re(self):
         mf = self.manifest
         mf.process_directive('global-include *.txt')
-        mf._exclude_pattern(re.compile(r'R.*\.txt'), is_regex=True)
+        mf._exclude_pattern(re.compile(r'RE.*\.txt'), is_regex=True)
         actual = self.get_files(mf.files)
         expected = set([
             os.path.join('keep', 'keep.txt'),
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin