Skip to content

Commit 36ac9b0

Browse files
committed
gh-117829 : fix the refex
1 parent bff0a07 commit 36ac9b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_zipapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def test_create_archive_with_include_and_exclude_pattern(self):
376376
source=str(source),
377377
target=target,
378378
include_pattern=re.compile(r".*\.py"),
379-
exclude_pattern=re.compile(r".*z.*")
379+
exclude_pattern=re.compile(r".*zed\.py")
380380
)
381381

382382
target.seek(0)
@@ -533,7 +533,7 @@ def test_cmdline_create_with_include_and_exclude_pattern(self):
533533
(source / 'bin' / 'baz').touch()
534534
(source / '__main__.py').touch()
535535

536-
args = [str(source), '--include-pattern', r'.*\.py', '--exclude-pattern', r'.*z.*']
536+
args = [str(source), '--include-pattern', r'.*\.py', '--exclude-pattern', r'.*zed\.py']
537537
zipapp.main(args)
538538
target = source.with_suffix('.pyz')
539539
self.assertTrue(target.is_file())

0 commit comments

Comments
 (0)