@@ -3039,10 +3039,11 @@ def test_CLI(): r""" |
|
|
3039 |
3039 |
... '-m', 'doctest', 'nosuchfile') |
3040 |
3040 |
>>> rc, out |
3041 |
3041 |
(1, b'') |
|
3042 |
+ >>> # The exact error message changes depending on the platform. |
3042 |
3043 |
>>> print(normalize(err)) # doctest: +ELLIPSIS |
3043 |
3044 |
Traceback (most recent call last): |
3044 |
3045 |
... |
3045 |
|
- FileNotFoundError: [Errno ...] No such file or directory: 'nosuchfile' |
|
3046 |
+ FileNotFoundError: [Errno ...] ...nosuchfile... |
3046 |
3047 |
|
3047 |
3048 |
Invalid doctest option: |
3048 |
3049 |
|