Группа :: 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'),