Skip to content

Fix unicode error in examples tests#296

Merged
germanattanasio merged 1 commit intov1.0.0from
mdk/295-fix-examples-tests
Nov 4, 2017
Merged

Fix unicode error in examples tests#296
germanattanasio merged 1 commit intov1.0.0from
mdk/295-fix-examples-tests

Conversation

@mkistler
Copy link
Copy Markdown

@mkistler mkistler commented Nov 4, 2017

This PR fixes #295 by making the re.sub pattern in test_examples.py more flexible so that is handles either # coding=utf-8 or # coding: utf-8, both of which are valid according to PEP 263.

@mkistler mkistler requested a review from ehdsouza November 4, 2017 16:52
@germanattanasio germanattanasio merged commit 2acf477 into v1.0.0 Nov 4, 2017
@mkistler mkistler deleted the mdk/295-fix-examples-tests branch November 5, 2017 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants