Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc355a6

Browse files
author
ojeda-e
committed
grep regex updated in pr_clean. Test skips win32 platforms.
1 parent 8e54cf6 commit bc355a6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/clean_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
base="$(git merge-base "origin/$GITHUB_BASE_REF" 'HEAD^2')"
2626
am="$(git log "$base..HEAD^2" --pretty=tformat: --name-status --diff-filter=AM |
2727
cut --fields 2 | sort | uniq --repeated |
28-
grep -E '.(png|pdf|ps|eps|svg)' || true)"
28+
grep '\-E .(png|pdf|ps|eps|svg)' || true)"
2929
if [[ -n "$am" ]]; then
3030
printf 'The following images were both added and modified in this PR:\n%s\n' "$am"
3131
exit 1

lib/matplotlib/tests/test_font_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def test_fontcache_thread_safe():
268268
f"{proc.returncode}.")
269269

270270

271+
@pytest.mark.skipif(sys.platform == 'win32', reason='Linux or OS only')
271272
def test_get_font_list():
272273
paths_mpl = [cbook._get_data_path('fonts', subdir) for subdir in ['ttf']]
273274
fonts_mpl = findSystemFonts(paths_mpl, fontext='ttf')

0 commit comments

Comments
 (0)