Michael Droettboom
f215d7cac9
gh-94823: Improve coverage in tokenizer.c:valid_utf8 (GH-94856)
...
When loading a source file from disk, there is a separate UTF-8 validator
distinct from the one in `unicode_decode_utf8`. This exercises that code path
with the same set of invalid inputs as we use for testing the "other" UTF-8
decoder.
2022-08-16 08:54:13 -07:00
Christian Heimes
8464fbc42e
bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615)
2022-01-25 08:09:06 +01:00
Pablo Galindo
261a452a13
bpo-25643: Refactor the C tokenizer into smaller, logical units (GH-25050)
2021-03-28 23:48:05 +01:00
Hai Shi
598a951844
bpo-40275: Use new test.support helper submodules in tests (GH-21764)
2020-08-07 17:18:38 +02:00
Serhiy Storchaka
74ea6b5a75
bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033)
2020-05-12 12:42:04 +03:00
Pavel Koneski
b6643dcfc2
bpo-36919: make test_source_encoding.test_issue2301 implementation-independent ( #13639 )
...
* bpo-36919: make test_issue2301 implementation-independent
2019-09-11 14:57:32 +01:00
Serhiy Storchaka
e431d3c9aa
Issue #26581 : Use the first coding cookie on a line, not the last one.
2016-03-20 23:36:29 +02:00
Serhiy Storchaka
97eee1cfda
Added new tests for detecting Python source code encoding.
2016-03-20 22:29:40 +02:00
Victor Stinner
047b7ae566
Issue #22390 : Remove files created by tests
2014-10-05 17:37:41 +02:00
Benjamin Peterson
126041844c
merge 3.3
2014-03-01 10:34:22 -05:00
Martin v. Löwis
80875fe439
Reindent
2014-02-28 15:49:06 +01:00
Martin v. Löwis
78f1e4c865
Merge with 3.3
2014-02-28 15:43:36 +01:00
Serhiy Storchaka
10dc0eb5a4
Issue #18202 : Fix minor bugs and cleanup test_source_encoding.py.
2013-06-19 10:29:58 +03:00
Brett Cannon
39295e7a55
Stop using the deprecated unittest.TestCase.assertRaisesRegexp()
2013-06-16 11:37:57 -04:00
Serhiy Storchaka
9702a17a6a
Issue #18048 : Merge test_pep263.py and test_coding.py into test_source_encoding.py.
2013-06-13 10:08:00 +03:00
Serhiy Storchaka
07c805d0fc
Issue #18048 : Rename test_coding.py to test_source_encoding.py.
2013-06-13 09:50:42 +03:00
Serhiy Storchaka
29f2d73068
Issue #18048 : Rename test_pep263.py to test_source_encoding.py.
2013-06-13 09:48:15 +03:00