|
33 | 33 |
|
34 | 34 | # Whitelist pattern for files which can have unicode.
|
35 | 35 | unicode_whitelist = [
|
| 36 | + # Author names can include non-ASCII characters |
36 | 37 | r'*/bin/authors_update.py',
|
37 |
| - r'*/sympy/utilities/tests/test_code_quality.py', |
38 | 38 |
|
39 |
| - # TODO Delete unicode in these files. |
40 |
| - r'*/physics/quantum/tests/test_printing.py', |
| 39 | + # These files have functions and test functions for unicode input and |
| 40 | + # output. |
| 41 | + r'*/sympy/utilities/tests/test_code_quality.py', |
41 | 42 | r'*/sympy/physics/vector/tests/test_printing.py',
|
| 43 | + r'*/physics/quantum/tests/test_printing.py', |
42 | 44 | r'*/sympy/vector/tests/test_printing.py',
|
43 | 45 | r'*/sympy/parsing/tests/test_sympy_parser.py',
|
44 |
| - r'*/sympy/physics/wigner.py', |
45 |
| - r'*/sympy/physics/optics/polarization.py', |
46 | 46 | r'*/sympy/printing/pretty/tests/test_pretty.py',
|
47 | 47 | r'*/sympy/printing/tests/test_preview.py',
|
48 |
| - # These 3 files in liealgebras have functions that return unicode strings |
49 |
| - # and tests for those functions. |
50 | 48 | r'*/liealgebras/type_g.py',
|
51 | 49 | r'*/liealgebras/weyl_group.py',
|
52 | 50 | r'*/liealgebras/tests/test_type_G.py',
|
| 51 | + |
| 52 | + # wigner.py and polarization.py have unicode doctests. These probably |
| 53 | + # don't need to be there but some of the examples that are there are |
| 54 | + # pretty ugly without use_unicode (matrices need to be wrapped across |
| 55 | + # multiple lines etc) |
| 56 | + r'*/sympy/physics/wigner.py', |
| 57 | + r'*/sympy/physics/optics/polarization.py', |
53 | 58 | ]
|
54 | 59 |
|
55 | 60 | unicode_strict_whitelist = [
|
|
0 commit comments